fix brackets, kudos @kanna5

This commit is contained in:
El RIDO 2024-12-25 07:27:58 +01:00
parent 3d59d3da50
commit 99e0b7efac
2 changed files with 3 additions and 3 deletions

View file

@ -2309,10 +2309,10 @@ jQuery.PrivateBin = (function($, RawDeflate) {
// show new bootstrap method (if available)
if ($passwordModal.length !== 0) {
if (typeof bootstrap !== 'undefined' && bootstrap.Tooltip.VERSION) {
(new bootstrap.Modal($passwordModal[0]), {
(new bootstrap.Modal($passwordModal[0], {
backdrop: 'static',
keyboard: false
}).show();
})).show();
} else {
$passwordModal.modal({
backdrop: 'static',