diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-20 10:49:14 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-20 10:49:14 +0400 |
commit | 6bdcaccb460cc349b68f34a24b61c782f9e5b2ac (patch) | |
tree | d4141262df31c2a0d0d91623338ab907e7e1a7c0 /app/assets/javascripts/application.js | |
parent | f80745b7dbcfa6aa41a37b34ec5a9e461231f7d6 (diff) |
Revert "Handle back & forward events"
This reverts commit f80745b7dbcfa6aa41a37b34ec5a9e461231f7d6.
Diffstat (limited to 'app/assets/javascripts/application.js')
-rw-r--r-- | app/assets/javascripts/application.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 023c48d5d8d..04d4f0bc6cf 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -50,16 +50,8 @@ $(document).ready(function(){ e.preventDefault(); } }); -}); - -if (history && history.pushState) { - $(function() { - $(window).bind("popstate", function() { - $.getScript(location.href); - }); - }); -} +}); function focusSearch() { $("#search").focus(); |