testrunner: resetting the scroll position after focusing a field
This commit is contained in:
parent
3eb56b09b8
commit
5e0da8c036
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue