Merge pull request #17614 from Johann-S/patchTooltip

[Fix #17611][V4] Change destroy to dispose for tooltip in _JQueryInterface
This commit is contained in:
Mark Otto 2016-10-10 13:03:28 -07:00 committed by GitHub
commit 259fa88e3e
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ const Tooltip = (($) => {
let _config = typeof config === 'object' ?
config : null
if (!data && /destroy|hide/.test(config)) {
if (!data && /dispose|hide/.test(config)) {
return
}