diff --git a/js/src/popover.js b/js/src/popover.js index 6c9d786647..a068420d63 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -23,7 +23,7 @@ const Popover = (($) => { const EVENT_KEY = `.${DATA_KEY}` const JQUERY_NO_CONFLICT = $.fn[NAME] const CLASS_PREFIX = 'bs-popover' - const BSCLS_PREFIX_REGEX = new RegExp(`(^|\\s)${CLASS_PREFIX}\\S+`, 'g') + const BSCLS_PREFIX_REGEX = new RegExp(`(^|\\s)${CLASS_PREFIX}\\S+`, 'g') const Default = $.extend({}, Tooltip.Default, { placement : 'right', diff --git a/js/tests/visual/popover.html b/js/tests/visual/popover.html index 93fa01f9da..2354abf425 100644 --- a/js/tests/visual/popover.html +++ b/js/tests/visual/popover.html @@ -10,6 +10,10 @@