Przeglądaj źródła

#862: Popup menu misplaced when the window scrolls (e.g. when displaying large lists of results)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3176 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 lat temu
rodzic
commit
9fbeefc6c1
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      js/jquery.popupmenu.js

+ 1 - 0
js/jquery.popupmenu.js

@@ -47,6 +47,7 @@ jQuery.fn.popupmenu = function ()
 						}
 					});
 				}
+				popupmenu.css('top', ''); // let the "position: absolute;" do its job, for better support of scrolling...
 				popupmenu.css('display', 'block');
 			}
 			else