diff --git a/scripts/home.js b/scripts/home.js index 716a469238e3425b7b8e77eeedc936ecd43aaa28..c8ded2b7b55aaaa33691cb7f2c941377924293c0 100644 --- a/scripts/home.js +++ b/scripts/home.js @@ -6,8 +6,8 @@ import ScrollLink from 'rc-scroll-anim/lib/ScrollLink'; import ScrollElement from 'rc-scroll-anim/lib/ScrollElement'; import TweenOne from 'rc-tween-one'; -module.exports = function () { - InstantClickChangeFns.push(function () { +module.exports = function() { + InstantClickChangeFns.push(function() { if (!document.getElementById('banner')) { return; }