aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authorKarl Swedberg <karl@englishrules.com>2010-01-21 23:18:54 +0800
committerJohn Resig <jeresig@gmail.com>2010-01-24 01:26:35 +0800
commit2c28f229e5eb49f1469fd36ee979529a492f0f42 (patch)
tree6a77ec6fee0525fd398dfea75ec69bd95d82b7d5 /test/unit/effects.js
parenta63754aa4e4e430007208d6b5cb76f9ca8c279f5 (diff)
downloadjquery-2c28f229e5eb49f1469fd36ee979529a492f0f42.tar.gz
jquery-2c28f229e5eb49f1469fd36ee979529a492f0f42.zip
fixed offset(coordinates) returns null when no matching elements in jQuery object (fixes ticket #5888)
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index e44739bf3..467631c7b 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -29,9 +29,8 @@ test("show()", function() {
div.hide().show(speed, function() {
pass = false;
});
- ok( pass, "Show with " + name + " does not call animate callback");
+ ok( pass, "Show with " + name + " does not call animate callback" );
});
-
jQuery("#main").append('<div id="show-tests"><div><p><a href="#"></a></p><code></code><pre></pre><span></span></div><table><thead><tr><th></th></tr></thead><tbody><tr><td></td></tr></tbody></table><ul><li></li></ul></div>');