From 61c3aeeb5d33586b405bdf4df304e99477fea6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 30 Oct 2017 10:32:27 +0100 Subject: [PATCH] Remove javascript hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is already handled by CSS and this code is commented out. Signed-off-by: Michal Čihař --- js/functions.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/functions.js b/js/functions.js index a9d37e7da9..ccd228f763 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1091,18 +1091,6 @@ AJAX.registerOnload('functions.js', function () { } }); -/** - * Row highlighting in horizontal mode (use "on" - * so that it works also for pages reached via AJAX) - */ -/* AJAX.registerOnload('functions.js', function () { - $(document).on('hover', 'tr',function (event) { - var $tr = $(this); - $tr.toggleClass('hover',event.type=='mouseover'); - $tr.children().toggleClass('hover',event.type=='mouseover'); - }); -})*/ - /** * marks all rows and selects its first checkbox inside the given element * the given element is usually a table or a div containing the table or tables