mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1013523 - Remove history check in in-content preferences.js. r=jaws
This commit is contained in:
parent
8b332a6e38
commit
d964b5b38d
@ -32,12 +32,6 @@ function init_all() {
|
||||
|
||||
let categories = document.getElementById("categories");
|
||||
categories.addEventListener("select", event => gotoPref(event.target.value));
|
||||
|
||||
if (history.length > 1 && history.state) {
|
||||
selectCategory(history.state);
|
||||
} else {
|
||||
history.replaceState("paneGeneral", document.title);
|
||||
}
|
||||
}
|
||||
|
||||
function selectCategory(name) {
|
||||
|
Loading…
Reference in New Issue
Block a user