mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
Comment out reload_once function
This commit is contained in:
14
options.js
14
options.js
@@ -167,15 +167,15 @@ function initShortcutInput(inputId) {
|
||||
document.getElementById(inputId).addEventListener('keydown', recordKeyPress);
|
||||
}
|
||||
|
||||
function reload_once() {
|
||||
if(!window.location.hash) {
|
||||
window.location = window.location + '#loaded';
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
// function reload_once() {
|
||||
// if(!window.location.hash) {
|
||||
// window.location = window.location + '#loaded';
|
||||
// window.location.reload();
|
||||
// }
|
||||
// }
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
reload_once();
|
||||
// reload_once();
|
||||
restore_options();
|
||||
|
||||
document.getElementById('save').addEventListener('click', save_options);
|
||||
|
Reference in New Issue
Block a user