From 5d9d0b00e014c16936c217ee26c0d1170b99313a Mon Sep 17 00:00:00 2001 From: Sagorika Das Date: Thu, 1 Mar 2018 18:20:37 +0530 Subject: [PATCH] updated js Signed-off-by: Sagorika Das --- apps/files/js/filelist.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 3ee976f1332..e4a7fc9db9b 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1433,11 +1433,7 @@ $tr.addClass('appear transparent'); window.setTimeout(function() { $tr.removeClass('transparent'); - $("#fileList tr").each(function(index) { - if ($(this).hasClass("mouseOver")) { - $(this).removeClass("mouseOver"); - } - }); + $("#fileList tr").removeClass('mouseOver'); $tr.addClass('mouseOver'); }); }