diff options
Diffstat (limited to 'public/static/collapse.js')
| -rw-r--r-- | public/static/collapse.js | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/public/static/collapse.js b/public/static/collapse.js index bdfaa9f..1dc1654 100644 --- a/public/static/collapse.js +++ b/public/static/collapse.js @@ -16,10 +16,10 @@ $(document).ready(function() {  					$(this).addClass('collapsed-moreinfo');  					// Setting an empty hash causes the browser to scroll back  					// to the top -- we don't want that. -					var posX = window.pageXOffset; -					var posY = window.pageYOffset; -					document.location.hash = ''; -					window.scrollTo(posX, posY); +					//var posX = window.pageXOffset; +					//var posY = window.pageYOffset; +					//document.location.hash = ''; +					//window.scrollTo(posX, posY);  				}  				else {  					$('.moreinfo').each(function() { @@ -30,7 +30,7 @@ $(document).ready(function() {  					});  					$(this).removeClass('collapsed-moreinfo');  					$(this).addClass('expanded-moreinfo'); -					document.location.hash = $(this).data('train'); +					//document.location.hash = $(this).data('train');  				}  			});  		}); | 
