]> git.openstreetmap.org Git - rails.git/commitdiff
Remove references to #view_tab
authorAaron Lidman <aaronlidman@gmail.com>
Thu, 7 Nov 2013 01:26:20 +0000 (17:26 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Thu, 7 Nov 2013 01:26:20 +0000 (17:26 -0800)
app/assets/javascripts/index.js

index 238ab7f6398e81af3e6cd583601b533dc39ac159..8a17767140864c96d9bbc4b8e9f893d8e0d91cf5 100644 (file)
@@ -236,14 +236,9 @@ $(document).ready(function () {
     page.pushstate = page.popstate = function(path) {
       if (minimized) $("#sidebar").addClass("minimized");
       map.invalidateSize();
-      $("#view_tab").addClass("current");
       $('#sidebar_content').load(path);
     };
 
-    page.unload = function() {
-      $("#view_tab").removeClass("current");
-    };
-
     return page;
   };