mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Fix dispose causing popover title to change
see: https://github.com/twbs/bootstrap/issues/26847 in v4, destroy was replaced by dispose
This commit is contained in:
@@ -150,7 +150,7 @@ const Popover = (($) => {
|
|||||||
let data = $(this).data(DATA_KEY)
|
let data = $(this).data(DATA_KEY)
|
||||||
const _config = typeof config === 'object' ? config : null
|
const _config = typeof config === 'object' ? config : null
|
||||||
|
|
||||||
if (!data && /destroy|hide/.test(config)) {
|
if (!data && /dispose|hide/.test(config)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user