fix onpopstate

This commit is contained in:
j 2011-06-20 20:34:23 +02:00
parent 29b1f5ddc3
commit b2d5f189e3
2 changed files with 5 additions and 4 deletions

View file

@ -85,7 +85,7 @@ Ox.load('Geo', function() {
} }
pandora.URL.parse(); pandora.URL.parse();
window.onpopstate = function() { window.onpopstate = function(event) {
pandora.URL.update(); pandora.URL.update();
}; };

View file

@ -1,4 +1,6 @@
// vim: et:ts=4:sw=4:sts=4:ft=js // vim: et:ts=4:sw=4:sts=4:ft=js
pandora.URL = (function() { pandora.URL = (function() {
var old = { var old = {
@ -117,10 +119,9 @@ pandora.URL = (function() {
].options('position') ].options('position')
); );
} }
delete old.user.ui; //delete old.user.ui;
} }
} };
}()); }());