Issue 30 - Refactor date selector navigation to be non-js friendly

This commit is contained in:
perryharlock
2013-09-24 11:04:34 +01:00
parent e9ce4bf9ad
commit c6c6466d31
5 changed files with 36 additions and 6 deletions

View File

@@ -54,11 +54,13 @@ $(document).ready(function(){
// Back to top links
toTopLinks.click( function(e){
e.preventDefault();
$(animateSection($('#top'), -75));
$(animateSection($('#top'), -55));
});
switchStandardsList(standardSelect);
$('.rules-list-title').addClass('hidden');
$('.date-links').removeClass('date-links list-group').addClass('dropdown-menu');
$('.dropdown-menu a').removeClass('list-group-item active');
standardSelect.change( function(){
switchStandardsList($(this));