Browse Source

Popper: Fixing the rest part of wrong comments.

Liril 8 years ago
parent
commit
d20eaab8de
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/utils/popper.js

+ 2 - 2
src/utils/popper.js

@@ -1117,7 +1117,7 @@
      * Check if the given variable is a function
      * @function
      * @ignore
-     * @argument {Element} element - Element to check
+     * @argument {*} functionToCheck - variable to check
      * @returns {Boolean} answer to: is a function?
      */
     function isFunction(functionToCheck) {
@@ -1160,7 +1160,7 @@
         // whether the IE version is lower than 11
         var isIE = navigator.userAgent.indexOf("MSIE") != -1;
 
-        // fix ie document bouding top always 0 bug
+        // fix ie document bounding top always 0 bug
         var rectTop = isIE && element.tagName === 'HTML'
             ? -element.scrollTop
             : rect.top;