mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Fix typo in the Popper.js checks. (#27488)
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user