From 0a3755b30ade6137dc3d51238e729f741ec5983a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 21 Oct 2018 11:51:20 +0300 Subject: [PATCH] Fix typo in the Popper.js checks. (#27488) --- js/src/dropdown.js | 2 +- js/src/tooltip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/dropdown.js b/js/src/dropdown.js index e52c51e4db..48b8d62eab 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -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 diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 9510353a11..3d3130bb5b 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -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