aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 9cb519be5..b747e5bea 100644
--- a/src/core.js
+++ b/src/core.js
@@ -476,7 +476,7 @@ jQuery.extend({
// A crude way of determining if an object is a window
isWindow: function( obj ) {
- return "setInterval" in obj;
+ return obj && typeof obj === "object" && "setInterval" in obj;
},
type: function( obj ) {