1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

fix a bug in jquery.transmenu that caused popping the menu up to be very slow if there are a lot of torrents in torrent_list.

This commit is contained in:
Jordan Lee 2011-08-31 14:22:28 +00:00
parent 8a678b304a
commit 2b65db86ba
2 changed files with 2 additions and 31 deletions

View file

@ -56,7 +56,7 @@
if ( !div.isVisible ) { if ( !div.isVisible ) {
div.timer = setTimeout( function() { div.timer = setTimeout( function() {
//check if the mouse is still over the parent item - if not dont show the submenu //check if the mouse is still over the parent item - if not dont show the submenu
if (! $('div').parent().is('.hover')) { if (! $(div).parent().is('.hover')) {
return; return;
} }
//assign events to all div>ul>li-elements //assign events to all div>ul>li-elements

File diff suppressed because one or more lines are too long