Browse Source

Better log

Raanan Weber 4 years ago
parent
commit
a5d7c12ab2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Misc/tools.ts

+ 1 - 1
src/Misc/tools.ts

@@ -747,7 +747,7 @@ export class Tools {
         if (typeof args[0] === "boolean") {
             return args[0];
         } else if (typeof args[1] === "boolean") {
-            Tools.Warn("Make sure you don't pass HTML element to attachControl function");
+            Tools.Warn("Don't pass HTML element to attachControl. Set engine.inputElement instead");
             return args[1];
         }