From d0889bce04da49b8072485e55f4848bd6521db60 Mon Sep 17 00:00:00 2001 From: Shahrooz Jafari Date: Fri, 26 Oct 2018 14:46:33 +0800 Subject: [PATCH] Update script.js Add semicolons at the end of lines --- script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script.js b/script.js index cac5891..f04edde 100644 --- a/script.js +++ b/script.js @@ -1,9 +1,9 @@ -let animateName = "animated pulse" -let animationend = "webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd" -let animatedClass = ".title" +let animateName = "animated pulse"; +let animationend = "webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd"; +let animatedClass = ".title"; $(animatedClass).mouseenter(function(event){ $(this).addClass(animateName); }); $(animatedClass).on(animationend, function(event) { $(this).removeClass(animateName); -}); \ No newline at end of file +});