Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2106 from anutron/master

Minor Tweak to TypeOf
  • Loading branch information...
commit 63659d25058b1139ada58c34373a7ccb1dde2d1b 2 parents f0205e5 + 22c8b41
@kamicane kamicane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/Core/Core.js
View
2  Source/Core/Core.js
@@ -31,7 +31,7 @@ this.MooTools = {
var typeOf = this.typeOf = function(item){
if (item == null) return 'null';
- if (item.$family) return item.$family();
+ if (item.$family != null) return item.$family();
if (item.nodeName){
if (item.nodeType == 1) return 'element';
Please sign in to comment.
Something went wrong with that request. Please try again.