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();
window.onpopstate = function() {
window.onpopstate = function(event) {
pandora.URL.update();
};

View File

@ -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;
}
}
};
}());