Delete scripts.js
This commit is contained in:
parent
a21543688b
commit
cc6c9a5c8d
|
@ -1,14 +0,0 @@
|
|||
// common demo JS
|
||||
|
||||
function getRandomInt(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
}
|
||||
|
||||
//scroll top?
|
||||
var toTop = document.getElementById('toTop');
|
||||
toTop.addEventListener('click',topHandler,false);
|
||||
|
||||
function topHandler(e){
|
||||
e.preventDefault();
|
||||
KUTE.to( 'window', { scroll: 0 }, {easing: 'easingQuarticOut', duration : 1500 } ).start();
|
||||
}
|
Loading…
Reference in a new issue