From 29954b0637441b818aac126e6f8a032856c84535 Mon Sep 17 00:00:00 2001 From: Roan Buysse Date: Tue, 26 Oct 2021 15:30:32 +0200 Subject: [PATCH] Update for bs5 --- js/bootstrap.confirm-modal.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/bootstrap.confirm-modal.js b/js/bootstrap.confirm-modal.js index d7d07e1..bbc6091 100644 --- a/js/bootstrap.confirm-modal.js +++ b/js/bootstrap.confirm-modal.js @@ -4,7 +4,9 @@ $(function ( $ ) { $.fn.confirmModal = function() { $(this).unbind('click'); $(this).click(function(ev) { - if (bootstrap_version == '4') { + if (bootstrap_version == '5') { + template = ''; + } else if (bootstrap_version == '4') { template = ''; } else if (bootstrap_version == '3') { template = '';