Comment out reload_once function

This commit is contained in:
codebicycle
2017-02-06 09:59:17 +02:00
parent 2adfb92d3b
commit f1373a1225

View File

@@ -167,15 +167,15 @@ function initShortcutInput(inputId) {
document.getElementById(inputId).addEventListener('keydown', recordKeyPress); document.getElementById(inputId).addEventListener('keydown', recordKeyPress);
} }
function reload_once() { // function reload_once() {
if(!window.location.hash) { // if(!window.location.hash) {
window.location = window.location + '#loaded'; // window.location = window.location + '#loaded';
window.location.reload(); // window.location.reload();
} // }
} // }
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
reload_once(); // reload_once();
restore_options(); restore_options();
document.getElementById('save').addEventListener('click', save_options); document.getElementById('save').addEventListener('click', save_options);