mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
Hide stats by default
This commit is contained in:
parent
f905bb8f8f
commit
3b201f951a
1 changed files with 5 additions and 4 deletions
|
|
@ -2,8 +2,8 @@
|
|||
.span
|
||||
.row
|
||||
%h5{:style=>"text-align: right"}
|
||||
= link_to "Events Stats", "#", :id => "events-stats1-link", :class => "btn btn-success"
|
||||
#events-stats1
|
||||
= link_to "Events Stats", "#", :id => "events-stats-link", :class => "btn btn-success"
|
||||
#events-stats
|
||||
%table.table.table-bordered.table-striped
|
||||
|
||||
%thead
|
||||
|
|
@ -186,7 +186,8 @@
|
|||
} );
|
||||
|
||||
$(document).ready( function() {
|
||||
$("#events-stats1-link").click(function() {
|
||||
$("#events-stats1").toggle();
|
||||
$("#events-stats").hide();
|
||||
$("#events-stats-link").click(function() {
|
||||
$("#events-stats").toggle();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue