Address CodeQl finding

This commit is contained in:
LordGrey 2024-04-28 19:02:39 +02:00
parent 173c9ee299
commit e01e3e70a0

View File

@ -319,9 +319,9 @@ function showInfoDialog(type, header, message) {
}); });
$(document).on('click', '[data-dismiss-modal]', function () { $(document).on('click', '[data-dismiss-modal]', function () {
var target = $(this).attr('data-dismiss-modal'); var target = $(this).data('dismiss-modal');
$(target).modal('hide'); $('#' + target).modal('hide');
}); });
} }
function createHintH(type, text, container) { function createHintH(type, text, container) {