|
@@ -747,7 +747,7 @@ export class Tools {
|
|
if (typeof args[0] === "boolean") {
|
|
if (typeof args[0] === "boolean") {
|
|
return args[0];
|
|
return args[0];
|
|
} else if (typeof args[1] === "boolean") {
|
|
} 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];
|
|
return args[1];
|
|
}
|
|
}
|
|
|
|
|