Skip to content

Commit

Permalink
Fix double loading on Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-dolkens committed Jan 17, 2023
1 parent 5981870 commit c70abac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/manifest.firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
"id": "[email protected]",
"strict_min_version": "109.0"
}
}
}
8 changes: 1 addition & 7 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,5 @@
"debug/*.html"
]
}
],

"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
}
}
]
}
5 changes: 3 additions & 2 deletions src/web_resources/HangarXPLOR.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ HangarXPLOR._giftableCount = HangarXPLOR._giftableCount || 0;
HangarXPLOR._packageCount = HangarXPLOR._packageCount || 0;
HangarXPLOR._ltiCount = HangarXPLOR._ltiCount || 0;
HangarXPLOR._cacheSalt = HangarXPLOR._cacheSalt || btoa(Math.random());
HangarXPLOR._initCount = HangarXPLOR._initCount || 0;

var RSI = RSI || {};

HangarXPLOR.Initialize = function()
{
{
$.ajax({
url: '/ship-matrix/index',
method: 'GET',
Expand Down Expand Up @@ -110,4 +111,4 @@ HangarXPLOR.Initialize = function()
});
}

HangarXPLOR.Initialize();
if (HangarXPLOR._initCount++ == 0) HangarXPLOR.Initialize();

0 comments on commit c70abac

Please sign in to comment.