Browse Source

Add missing `;` causing syntax error in js.php

pull/3431/head
Damien Regad 2 months ago
parent
commit
c8241b3ba7
  1. 4
      lib/scripts/behaviour.js

4
lib/scripts/behaviour.js

@ -228,12 +228,12 @@ var dw_behaviour = {
// successful check will not be repeated during session
$checkDiv.remove();
sessionStorage.setItem('dw-security-check:' + DOKU_BASE, true);
}
};
img.onload = function () {
// check failed, display a warning message
$checkDiv.html(LANG.data_insecure);
$checkDiv.addClass('error');
}
};
img.src = $checkDiv.data('src') + '?t=' + Date.now();
}
};

Loading…
Cancel
Save