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
|
.span
|
||||||
.row
|
.row
|
||||||
%h5{:style=>"text-align: right"}
|
%h5{:style=>"text-align: right"}
|
||||||
= link_to "Events Stats", "#", :id => "events-stats1-link", :class => "btn btn-success"
|
= link_to "Events Stats", "#", :id => "events-stats-link", :class => "btn btn-success"
|
||||||
#events-stats1
|
#events-stats
|
||||||
%table.table.table-bordered.table-striped
|
%table.table.table-bordered.table-striped
|
||||||
|
|
||||||
%thead
|
%thead
|
||||||
|
|
@ -186,7 +186,8 @@
|
||||||
} );
|
} );
|
||||||
|
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
$("#events-stats1-link").click(function() {
|
$("#events-stats").hide();
|
||||||
$("#events-stats1").toggle();
|
$("#events-stats-link").click(function() {
|
||||||
|
$("#events-stats").toggle();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue