Permalink
Browse files

Merge pull request #2106 from anutron/master

Minor Tweak to TypeOf
  • Loading branch information...
2 parents f0205e5 + 22c8b41 commit 63659d25058b1139ada58c34373a7ccb1dde2d1b @kamicane kamicane committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core.js
View
@@ -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';

0 comments on commit 63659d2

Please sign in to comment.