mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +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:
parent
8a678b304a
commit
2b65db86ba
2 changed files with 2 additions and 31 deletions
|
@ -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
|
||||||
|
|
31
web/javascript/jquery/jquery.transmenu.min.js
vendored
31
web/javascript/jquery/jquery.transmenu.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue