diff options
author | jarstelfox <jarstelfox@mac.com> | 2018-07-10 22:09:51 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2018-08-02 14:51:08 +0300 |
commit | 198091d6350c24876034c94a21a2cae1465ce5b1 (patch) | |
tree | 13418d87d4eb03c6dd60da263172d67d5a667733 /js | |
parent | 854da5a7c1b099b0856f4ea070befc3fb8819f4e (diff) |
Fix dispose causing popover title to change
see: https://github.com/twbs/bootstrap/issues/26847
in v4, destroy was replaced by dispose
Diffstat (limited to 'js')
-rw-r--r-- | js/src/popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/popover.js b/js/src/popover.js index eade7cf58d..9f1e38e666 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -150,7 +150,7 @@ const Popover = (($) => { let data = $(this).data(DATA_KEY) const _config = typeof config === 'object' ? config : null - if (!data && /destroy|hide/.test(config)) { + if (!data && /dispose|hide/.test(config)) { return } |