forked from 0x2620/pandora
fix onpopstate
This commit is contained in:
parent
d588987c12
commit
8d98cb79de
2 changed files with 5 additions and 4 deletions
|
@ -85,7 +85,7 @@ Ox.load('Geo', function() {
|
|||
}
|
||||
|
||||
pandora.URL.parse();
|
||||
window.onpopstate = function() {
|
||||
window.onpopstate = function(event) {
|
||||
pandora.URL.update();
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=js
|
||||
|
||||
|
||||
pandora.URL = (function() {
|
||||
|
||||
var old = {
|
||||
|
@ -117,10 +119,9 @@ pandora.URL = (function() {
|
|||
].options('position')
|
||||
);
|
||||
}
|
||||
delete old.user.ui;
|
||||
//delete old.user.ui;
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
}());
|
||||
|
||||
|
|
Loading…
Reference in a new issue