Permalink
Browse files

fixed broken calendar on front page

  • Loading branch information...
denibertovic committed Apr 16, 2012
1 parent fc50286 commit aac23d536c9c39a17e11719de3d4dcb07e3ec54d
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/program.html
View
@@ -57,8 +57,8 @@ <h1><span class="orange">&raquo;&nbsp;&nbsp;</span>Za nostalgičare ...</h1>
}
jQuery(document).ready(function() {
- year = (jQuery.query.get('year')) ? jQuery.query.get('year') : 0;
- month = (jQuery.query.get('month')) ? jQuery.query.get('month') : 0;
+ year = (new Date).getFullYear();
+ month = (new Date).getMonth();
GetCalendar(year,month)
});
</script>

0 comments on commit aac23d5

Please sign in to comment.