From d20eaab8dee99301cb325bba6e1b554789f7263a Mon Sep 17 00:00:00 2001 From: Liril Date: Wed, 18 Jan 2017 10:55:12 +0800 Subject: [PATCH] Popper: Fixing the rest part of wrong comments. --- src/utils/popper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/popper.js b/src/utils/popper.js index 9e26b3f9f..38ea9164b 100644 --- a/src/utils/popper.js +++ b/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;