From 7d3c7dcfb3e843e730e19e0906c81f1cf978f397 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Feb 2013 15:47:40 +0530 Subject: [PATCH] add space and newline --- static/js/pandora/URL.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index 4fb47a6d3..b556ebaa9 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -19,7 +19,7 @@ pandora.URL = (function() { state.type = pandora.user.ui.section == 'items' ? pandora.site.itemsSection : pandora.user.ui.section; state.item = pandora.user.ui[pandora.user.ui.section.slice(0, -1)]; - if(pandora.user.ui.section == 'items') { + if (pandora.user.ui.section == 'items') { if (!pandora.user.ui.item) { state.view = pandora.user.ui.listView; state.sort = pandora.user.ui.listSort; @@ -282,6 +282,7 @@ pandora.URL = (function() { Ox.Request.cancel(); that.parse(); }; + window.onpopstate = function(e) { Ox.Request.cancel(); self.isPopState = true;