git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
testrunner: resetting the scroll position after focusing a field
[jquery.git]
/
test
/
unit
/
event.js
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
d10b3d3
..
c641487
100644
(file)
--- 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");