aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/position
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-20 11:02:50 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-20 11:02:50 -0400
commit2cf9948cadf45a24c591d6f7232f2470b4d9743e (patch)
treea253dbd79ac78d9b47edaae486d684a6ae454c76 /tests/visual/position
parent22b7f9a8196e0927bd993edd2ca3d1b1ef7bd79d (diff)
downloadjquery-ui-2cf9948cadf45a24c591d6f7232f2470b4d9743e.tar.gz
jquery-ui-2cf9948cadf45a24c591d6f7232f2470b4d9743e.zip
Position: Use offsets for all calculations in feedback API.
Diffstat (limited to 'tests/visual/position')
-rw-r--r--tests/visual/position/position_feedback.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visual/position/position_feedback.html b/tests/visual/position/position_feedback.html
index f23d8a299..11bb19f3e 100644
--- a/tests/visual/position/position_feedback.html
+++ b/tests/visual/position/position_feedback.html
@@ -14,7 +14,7 @@
$(function() {
function using( position, feedback ) {
$(this)
- .offset( position )
+ .css( position )
.text( feedback.horizontal + " " + feedback.vertical + " " + feedback.important )
.removeClass( "left right top bottom center middle vertical horizontal" )
.addClass( feedback.horizontal )