Remove javascript hover

It is already handled by CSS and this code is commented out.

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-10-30 10:32:27 +01:00
parent b0421d7d8c
commit 61c3aeeb5d

View File

@ -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