diff options
Diffstat (limited to 'js/dist/util.js')
-rw-r--r-- | js/dist/util.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/dist/util.js b/js/dist/util.js index 1ee4e8cb05..b6d5f03e91 100644 --- a/js/dist/util.js +++ b/js/dist/util.js @@ -22,10 +22,9 @@ var Util = function ($) { MozTransition: 'transitionend', OTransition: 'oTransitionEnd otransitionend', transition: 'transitionend' - }; - // shoutout AngusCroll (https://goo.gl/pxwQGp) - function toType(obj) { + // shoutout AngusCroll (https://goo.gl/pxwQGp) + };function toType(obj) { return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); } |