mirror of
https://github.com/overte-org/overte.git
synced 2025-04-30 00:42:46 +02:00
Improve robustness of navigation footer
This commit is contained in:
parent
7402592232
commit
1f8323fb8f
1 changed files with 1 additions and 7 deletions
|
@ -220,12 +220,6 @@
|
|||
}
|
||||
|
||||
// Load / unload.
|
||||
try {
|
||||
// This appears more responsive to the user but $ is not necessarily loaded in time for each marketplace.
|
||||
$(document).ready(function () { onLoad(); });
|
||||
}
|
||||
catch (e) {
|
||||
window.addEventListener("load", onLoad);
|
||||
}
|
||||
window.addEventListener("load", onLoad); // More robust to Web site issues than using $(document).ready().
|
||||
|
||||
}());
|
||||
|
|
Loading…
Reference in a new issue