Open schedule for the current day by default
This commit is contained in:
parent
8b831b1977
commit
e71f899950
1 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,12 @@ $(function() {
|
|||
}
|
||||
});
|
||||
|
||||
// Open current day's schedule by default
|
||||
$(function() {
|
||||
today = new Date().toISOString().split('T')[0];
|
||||
$('.date-tab[href="#' + today +'"]').trigger( "click" );
|
||||
});
|
||||
|
||||
// hide the right and left controls when neccesary after moving the carousel
|
||||
$('.carousel').on('slid.bs.carousel', '',
|
||||
function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue