mirror of
https://github.com/liabru/matter-js.git
synced 2025-03-14 00:38:41 -04:00
Update Common.js
This commit is contained in:
parent
b5dc3b231d
commit
0cc25ce207
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ module.exports = Common;
|
|||
return obj instanceof HTMLElement;
|
||||
}
|
||||
|
||||
return !!(obj.nodeType && obj.nodeName);
|
||||
return !!(obj && obj.nodeType && obj.nodeName);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue