git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switched back to the old style of running embedded scripts (users who have duplicate...
[jquery.git]
/
test
/
data
/
offset
/
static.html
diff --git
a/test/data/offset/static.html
b/test/data/offset/static.html
index
bce715e
..
10116af
100644
(file)
--- a/
test/data/offset/static.html
+++ b/
test/data/offset/static.html
@@
-15,6
+15,8
@@
$(function() {
$('.static').click(function() {
$('#marker').css( $(this).offset() );
+ var pos = $(this).position();
+ $(this).css({ position: 'absolute', top: pos.top, left: pos.left });
return false;
});
});