Skip to content

Commit

Permalink
Undo workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Watcher7 committed Nov 22, 2022
1 parent 22bcf2e commit 7142aa4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions ui/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,7 @@
</body>
<!-- Load wowhead scripts after done loading everything else -->
<script>const whTooltips = {colorLinks: true};</script>
<!--<script src="https://wow.zamimg.com/js/tooltips.js"></script>-->
<script>
$.getScript("https://wow.zamimg.com/js/tooltips.js")
.done(function(script, status) {
// Workaround for WH.PageMeta.restrictedDataEnvs not being set on external sites.
// https://wow.zamimg.com/widgets/power/demo.html should be checked in future to see
// if wowhead has resolved this issue.
WH.PageMeta.restrictedDataEnvs = []
}).fail((j, s, e) => console.log("Failed to load tooltips."));
</script>
<script src="https://wow.zamimg.com/js/tooltips.js"></script>
<!--<script>const aowow_tooltips = {colorlinks: true}</script>
<script type="text/javascript" src="https://wotlk.evowow.com/static/widgets/power.js"></script>-->
</html>

0 comments on commit 7142aa4

Please sign in to comment.