testrunner: resetting the scroll position after focusing a field
[jquery.git] / test / unit / event.js
index d10b3d3..c641487 100644 (file)
@@ -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");