Updating unit tests for offset
This commit is contained in:
parent
c5f4d70e2b
commit
2c2a6253e3
4 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue