]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix typo in the Popper.js checks. (#27488)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 21 Oct 2018 08:51:20 +0000 (11:51 +0300)
committerGitHub <noreply@github.com>
Sun, 21 Oct 2018 08:51:20 +0000 (11:51 +0300)
js/src/dropdown.js
js/src/tooltip.js

index e52c51e4db759fbc49e937e3916a7dc8782f6c74..48b8d62eab00f618b268ae1fb6dca00753837042 100644 (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
index 9510353a1160ef6e755fa5aa9c9442377bff4014..3d3130bb5b10e608f599d4f3b8d6f22ad9d5faf3 100644 (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