diff options
Diffstat (limited to 'plugins/CoreHome/templates/date.js')
-rw-r--r-- | plugins/CoreHome/templates/date.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/CoreHome/templates/date.js b/plugins/CoreHome/templates/date.js index 4b33793a55..7ca90166a6 100644 --- a/plugins/CoreHome/templates/date.js +++ b/plugins/CoreHome/templates/date.js @@ -1,7 +1,7 @@ $(document).ready(function(){ $("#periodString").hide(); $("#otherPeriods").hide(); - $("#datepicker").hide(); + $("#calendar").hide(); $("#periodString").show(); // we get the content of the div before modifying it (append image, etc.) @@ -54,7 +54,7 @@ $(document).ready(function(){ { $("#currentPeriod:not(.hoverPeriod)") .addClass("hoverPeriod") - .append(' <img src="plugins/CoreHome/templates/images/more_period.gif" style="vertical-align:middle" />'); + .append(' <img src="plugins/CoreHome/templates/images/more_period.gif" style="vertical-align:middle">'); } }, function(){ restoreCurrentPeriod(); @@ -83,10 +83,6 @@ $(document).ready(function(){ }) .click(function(){ - $("#datepicker").toggle(); - if($("#datepicker").is(":visible")) - { - $("#datepicker .ui-state-highlight").removeClass('ui-state-highlight'); - } + $("#calendar").toggle(); }); } ); |