mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1013523 - Remove history check in in-content preferences.js. r=jaws
This commit is contained in:
parent
807f603e68
commit
92e5a99a40
@ -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