mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Fix typo in the Popper.js checks. (#27488)
This commit is contained in:
parent
d13ae1fc1a
commit
0a3755b30a
@ -151,7 +151,7 @@ class Dropdown {
|
|||||||
* Popper - https://popper.js.org
|
* Popper - https://popper.js.org
|
||||||
*/
|
*/
|
||||||
if (typeof Popper === 'undefined') {
|
if (typeof Popper === 'undefined') {
|
||||||
throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)')
|
throw new TypeError('Bootstrap\'s dropdowns require Popper.js (https://popper.js.org/)')
|
||||||
}
|
}
|
||||||
|
|
||||||
let referenceElement = this._element
|
let referenceElement = this._element
|
||||||
|
@ -113,7 +113,7 @@ class Tooltip {
|
|||||||
* Popper - https://popper.js.org
|
* Popper - https://popper.js.org
|
||||||
*/
|
*/
|
||||||
if (typeof Popper === 'undefined') {
|
if (typeof Popper === 'undefined') {
|
||||||
throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)')
|
throw new TypeError('Bootstrap\'s tooltips require Popper.js (https://popper.js.org/)')
|
||||||
}
|
}
|
||||||
|
|
||||||
// private
|
// private
|
||||||
|
Loading…
Reference in New Issue
Block a user