mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-10 04:23:00 +00:00
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:
@@ -56,9 +56,9 @@ exports.warning = function(text) {
|
||||
/*
|
||||
Log a table of name: value pairs
|
||||
*/
|
||||
exports.logTable = function(data,columnNames) {
|
||||
exports.logTable = function(data) {
|
||||
if(console.table) {
|
||||
console.table(data,columnNames);
|
||||
console.table(data);
|
||||
} else {
|
||||
$tw.utils.each(data,function(value,name) {
|
||||
console.log(name + ": " + value);
|
||||
|
||||
Reference in New Issue
Block a user