Revert "Handle back & forward events"

This reverts commit f80745b7db.
This commit is contained in:
Dmitriy Zaporozhets 2011-12-20 08:49:14 +02:00
parent f80745b7db
commit 6bdcaccb46
4 changed files with 16 additions and 13 deletions

View file

@ -50,17 +50,9 @@ $(document).ready(function(){
e.preventDefault();
}
});
});
if (history && history.pushState) {
$(function() {
$(window).bind("popstate", function() {
$.getScript(location.href);
});
});
}
function focusSearch() {
$("#search").focus();
}