diff options
author | Ariel Flesler <aflesler@gmail.com> | 2009-09-14 23:28:21 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2009-09-14 23:28:21 +0000 |
commit | 5e0da8c0365b729f63fbd6d27223776551cb8f46 (patch) | |
tree | 3d53f1f9cbc64b57a64071f4c790a4bf565988a8 | |
parent | 3eb56b09b8ce903355b9173b6e60b2354a6c7ba7 (diff) | |
download | jquery-5e0da8c0365b729f63fbd6d27223776551cb8f46.tar.gz jquery-5e0da8c0365b729f63fbd6d27223776551cb8f46.zip |
testrunner: resetting the scroll position after focusing a field
-rw-r--r-- | test/unit/event.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/event.js b/test/unit/event.js index d10b3d372..c64148720 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -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"); |