Fix a bug in latest version, (window).scroll()

Hi Colorlib Developers,

Please fix the bug in your library/js/functions.js
in function description
(window).scroll(function(){if($(this).scrollTop()){$(’.back-to-top’).fadeIn()}else{$(’.back-to-top’).fadeOut()}});

Firebug give me the following error:
“Not enough arguments to Window.scroll.”

Thank you for your themes. Great job.

I had the same bug, which I fixed by adding an empty argument such as :

(window).scroll([], function(){…});

I believe that from what we see here http://api.jquery.com/scroll/, the bug is due to jQuery v1.4.3 that now requires 2 arguments.