Logging widgets :Fixed issue on Firefox where logging does not work (#5223)

* Fixed issue on Firefox where logging does not work properly due to column names

* Remove second argument to utils.logTable
This commit is contained in:
Saq Imtiaz
2020-12-07 15:53:49 +00:00
committed by GitHub
parent 2c76cfa67a
commit ce5d20b8fc
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -78,11 +78,11 @@ LogWidget.prototype.log = function() {
console.group(this.message);
if(dataCount > 0) {
$tw.utils.logTable(data,["name","value"]);
$tw.utils.logTable(data);
}
if(this.logAll || !dataCount) {
console.groupCollapsed("All variables");
$tw.utils.logTable(allVars,["name","value"]);
$tw.utils.logTable(allVars);
console.groupEnd();
}
console.groupEnd();