mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Ensure both height and width port functions exist before attempting to run dimensions tests.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
parent
4dcd7dd324
commit
f5d2bc4db1
@ -1,4 +1,4 @@
|
||||
if( jQuery.fn.width ) {
|
||||
if ( jQuery.fn.width && jQuery.fn.height ) {
|
||||
|
||||
module("dimensions", { teardown: moduleTeardown });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user