Got rid of an unused variable

This should have been done in commit "Viewer iframe location is checked
every 0.1s"
This commit is contained in:
Veloman Yunkan
2025-11-28 17:10:13 +04:00
parent 8b7d1ef9ec
commit b65074f961

View File

@@ -433,8 +433,6 @@ function setup_chaperon_mode() {
}
}
let viewerSetupComplete = false;
function on_content_load() {
const loader = document.getElementById("kiwix__loader");
@@ -642,6 +640,4 @@ function finishViewerSetupOnceTranslationsAreLoaded()
window.onhashchange = handle_location_hash_change;
window.onpopstate = handle_history_state_change;
viewerSetupComplete = true;
}