mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
testrunner: resetting the scroll position after focusing a field
This commit is contained in:
parent
3eb56b09b8
commit
5e0da8c036
@ -765,6 +765,7 @@ test("live with focus/blur", function(){
|
||||
|
||||
child.focus();
|
||||
equals(counter, 1, "Test live() with focus event");
|
||||
window.scrollTo(0,0);
|
||||
|
||||
child.blur();
|
||||
equals(counter, 2, "Test live() with blur event");
|
||||
|
Loading…
Reference in New Issue
Block a user