1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 05:49:07 +02:00

Clean tooltip component unneeded functionality (#32692)

This commit is contained in:
GeoSot
2021-11-25 20:08:11 +02:00
committed by GitHub
parent 374eeecfbc
commit 6f077ff7bc
3 changed files with 13 additions and 67 deletions

View File

@@ -15,7 +15,6 @@ import Tooltip from './tooltip'
const NAME = 'popover'
const DATA_KEY = 'bs.popover'
const EVENT_KEY = `.${DATA_KEY}`
const CLASS_PREFIX = 'bs-popover'
const SELECTOR_TITLE = '.popover-header'
const SELECTOR_CONTENT = '.popover-body'
@@ -90,10 +89,6 @@ class Popover extends Tooltip {
return this._resolvePossibleFunction(this._config.content)
}
_getBasicClassPrefix() {
return CLASS_PREFIX
}
// Static
static jQueryInterface(config) {
return this.each(function () {