From 4879bea4a038462a2e40d91061e7d7df62deb4f6 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Thu, 9 Nov 2017 20:01:13 +1100 Subject: Moved console methods out of the root of the object --- src/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/js/ui.js') diff --git a/src/js/ui.js b/src/js/ui.js index 1c6290cf..0ecc5621 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -31,7 +31,7 @@ const ui = { // Don't setup interface if no support if (!this.supported.ui) { - this.warn(`Basic support only for ${this.type}`); + this.console.warn(`Basic support only for ${this.type}`); // Remove controls utils.removeElement.call(this, 'controls'); -- cgit v1.2.3