mirror of
https://github.com/smittix/intercept.git
synced 2026-07-12 03:28:11 -07:00
Fix updater settings panel error when updater.js is blocked
Add defensive typeof checks before referencing the Updater global in loadUpdateStatus() and checkForUpdatesManual() so the settings panel shows a helpful message instead of crashing. Also swap script load order so updater.js loads before settings-manager.js. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13925,10 +13925,10 @@
|
||||
<!-- Toast Container -->
|
||||
<div id="toastContainer"></div>
|
||||
|
||||
<!-- Settings Manager -->
|
||||
<script src="{{ url_for('static', filename='js/core/settings-manager.js') }}"></script>
|
||||
<!-- Updater -->
|
||||
<script src="{{ url_for('static', filename='js/core/updater.js') }}"></script>
|
||||
<!-- Settings Manager -->
|
||||
<script src="{{ url_for('static', filename='js/core/settings-manager.js') }}"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user