forked from 0x2620/pandora
add space and newline
This commit is contained in:
parent
576d3cc291
commit
7d3c7dcfb3
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ pandora.URL = (function() {
|
||||||
state.type = pandora.user.ui.section == 'items' ? pandora.site.itemsSection : pandora.user.ui.section;
|
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)];
|
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) {
|
if (!pandora.user.ui.item) {
|
||||||
state.view = pandora.user.ui.listView;
|
state.view = pandora.user.ui.listView;
|
||||||
state.sort = pandora.user.ui.listSort;
|
state.sort = pandora.user.ui.listSort;
|
||||||
|
@ -282,6 +282,7 @@ pandora.URL = (function() {
|
||||||
Ox.Request.cancel();
|
Ox.Request.cancel();
|
||||||
that.parse();
|
that.parse();
|
||||||
};
|
};
|
||||||
|
|
||||||
window.onpopstate = function(e) {
|
window.onpopstate = function(e) {
|
||||||
Ox.Request.cancel();
|
Ox.Request.cancel();
|
||||||
self.isPopState = true;
|
self.isPopState = true;
|
||||||
|
|
Loading…
Reference in a new issue