Exclude translations.js from reload
This commit is contained in:
parent
a6a4246fac
commit
346ca096f9
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ function reloadJS() {
|
|||
var scriptBlock = scriptBlocks[i];
|
||||
if (scriptBlock.hasAttribute("src")) {
|
||||
var srcAttr = scriptBlock.getAttribute("src");
|
||||
if (!srcAttr.endsWith("translations.js")) {
|
||||
if (!srcAttr.includes("translations.js")) {
|
||||
if (srcAttr.indexOf("?") == -1) {
|
||||
srcAttr += "?" + new Date().getTime();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue