From ab8e42546864b2bc4fda0619d8a4dcd84922dc26 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 21 Oct 2018 09:54:32 +0300 Subject: [PATCH 1/3] Fix typo in the Popper.js checks. --- 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 e52c51e4db75..ae73049b07fb 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 9510353a1160..f491c5784393 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 From 5672799e1f8797b31a58ce64c6f810fc76bcad3e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 21 Oct 2018 10:38:07 +0300 Subject: [PATCH 2/3] Update dropdown.js --- js/src/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/dropdown.js b/js/src/dropdown.js index ae73049b07fb..48b8d62eab00 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\'s dropdowns require Popper.js (https://popper.js.org)') + throw new TypeError('Bootstrap\'s dropdowns require Popper.js (https://popper.js.org/)') } let referenceElement = this._element From 1a2046feb655e003b386eba0ed65d632c2e4a09f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 21 Oct 2018 10:38:14 +0300 Subject: [PATCH 3/3] Update tooltip.js --- js/src/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/tooltip.js b/js/src/tooltip.js index f491c5784393..3d3130bb5b10 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\'s tooltips require Popper.js (https://popper.js.org)') + throw new TypeError('Bootstrap\'s tooltips require Popper.js (https://popper.js.org/)') } // private