var detectBack = { initialize: function() { $(window).unbind('hashchange').bind('hashchange', function(){ }); $(window).unbind('popstate').bind('popstate', function(e){ this.location.reload(); }); } }; detectBack.initialize();
var detectBack = { initialize: function() { $(window).unbind('hashchange').bind('hashchange', function(){ }); $(window).unbind('popstate').bind('popstate', function(e){ this.location.reload(); }); } }; detectBack.initialize();