Skip to content

Commit

Permalink
fix dialogs on iitc boot
Browse files Browse the repository at this point in the history
DIALOGS is not initialized
when "checkingIntelURL" or "extractFromStock" function fail
and tries to open a dialog.

example:
error"can't access property "dialog-anon-0", window.DIALOGS is undefined"
when not using "intel.ingress.com"
  • Loading branch information
McBen committed Mar 12, 2024
1 parent d0bfbdc commit eb8b7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/code/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ function boot() {
var loadPlugins = prepPluginsToLoad();
loadPlugins('boot');

window.setupDialogs();
checkingIntelURL();
setupIngressMarkers();
window.extractFromStock();
window.setupIdle();
window.setupDialogs();
window.setupDataTileParams();
window.setupMap();
window.setupOMS();
Expand Down

0 comments on commit eb8b7bc

Please sign in to comment.