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

This commit is contained in:
Damien Regad 2021-03-06 11:08:27 +01:00
parent 86491c6cdd
commit c8241b3ba7
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
};