aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2009-09-14 23:28:21 +0000
committerAriel Flesler <aflesler@gmail.com>2009-09-14 23:28:21 +0000
commit5e0da8c0365b729f63fbd6d27223776551cb8f46 (patch)
tree3d53f1f9cbc64b57a64071f4c790a4bf565988a8
parent3eb56b09b8ce903355b9173b6e60b2354a6c7ba7 (diff)
downloadjquery-5e0da8c0365b729f63fbd6d27223776551cb8f46.tar.gz
jquery-5e0da8c0365b729f63fbd6d27223776551cb8f46.zip
testrunner: resetting the scroll position after focusing a field
-rw-r--r--test/unit/event.js1
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");