mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -72,7 +72,7 @@ __PluginManager__.register('Logger', function(module, exports, require, global){
|
||||
*/
|
||||
this.collection = node || document.getElementById('kit-logger') || document.querySelector('.kit-logger') || makeNode(collectionTemplater);
|
||||
|
||||
if(!this.collection.parentElement) {
|
||||
if((this.collection instanceof HTMLElement) && !this.collection.parentElement) {
|
||||
document.body.appendChild(this.collection)
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user