Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit fc5a30b

Browse files
committed
FIXME for BootstrapV4.X
1 parent 7a6ce48 commit fc5a30b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/js/bootstrap-dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* ================================================ */
4141
var Modal = $.fn.modal.Constructor;
4242
var BootstrapDialogModal = function(element, options) {
43-
if (/4\.0\.\d+/.test($.fn.modal.Constructor.VERSION)) { //FIXME for BootstrapV4
43+
if (/4\.\d+/.test($.fn.modal.Constructor.VERSION)) { //FIXME for BootstrapV4
4444
return new Modal(element, options);
4545
} else {
4646
Modal.call(this, element, options);
@@ -54,7 +54,7 @@
5454
version = 'v3.2';
5555
} else if (/3\.3\.[1,2]/.test($.fn.modal.Constructor.VERSION)) {
5656
version = 'v3.3'; // v3.3.1, v3.3.2
57-
} else if (/4\.0\.\d+/.test($.fn.modal.Constructor.VERSION)) { //FIXME for BootstrapV4
57+
} else if (/4\.\d+/.test($.fn.modal.Constructor.VERSION)) { //FIXME for BootstrapV4
5858
version = 'v4.0';
5959
} else {
6060
version = 'v3.3.4';

0 commit comments

Comments
 (0)