fixed offset(coordinates) returns null when no matching elements in jQuery object (fixes ticket #5888)
This commit is contained in:
parent
a63754aa4e
commit
2c28f229e5
3 changed files with 16 additions and 10 deletions
3
test/unit/effects.js
vendored
3
test/unit/effects.js
vendored
|
@ -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>');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue