1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02:00

Fix typo in the Popper.js checks. (#27488)

This commit is contained in:
XhmikosR
2018-10-21 11:51:20 +03:00
committed by GitHub
parent d13ae1fc1a
commit 0a3755b30a
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ class Dropdown {
* Popper - https://popper.js.org
*/
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

View File

@@ -113,7 +113,7 @@ class Tooltip {
* Popper - https://popper.js.org
*/
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