From 57bfba1387cf991b33f5d9d9c4c5993d4681498b Mon Sep 17 00:00:00 2001 From: Gerome Matilla Date: Thu, 4 Jun 2020 10:48:53 +0800 Subject: [PATCH] dont animate profileimage if dashboard is opening --- js/animate-dashboard.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/animate-dashboard.js b/js/animate-dashboard.js index 2f5e2f8..edfb580 100644 --- a/js/animate-dashboard.js +++ b/js/animate-dashboard.js @@ -24,13 +24,6 @@ const hideDashboard = () => { const toggleDashboard = () => { - // If profile anim is still running, - // Return to avoid spam - if (profileAnimRunning) return; - - // Rotate profile - rotateProfile(); - if (rightDashboardVisibility) { // Hide search box hideDashboard();