Bug 1013523 - Remove history check in in-content preferences.js. r=jaws

This commit is contained in:
Richard Marti 2014-05-20 21:11:13 +02:00
parent 807f603e68
commit 92e5a99a40

View File

@ -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) {