Core: Clarify warning message

This commit is contained in:
Rob Garrison 2017-09-10 15:08:55 -05:00
parent 5218f2d31e
commit f1aa6745e5

View File

@ -2058,7 +2058,7 @@
if ( !widget.priority ) { widget.priority = 10; }
widgets[ indx ] = widget;
} else if ( c.debug ) {
console.warn( '"' + names[ indx ] + '" widget code does not exist!' );
console.warn( '"' + names[ indx ] + '" was enabled, but the widget code has not been loaded!' );
}
}
// sort widgets by priority