Quick fix for inconsistent logging in updates window

This commit is contained in:
Dan Stillman 2024-12-11 03:43:03 -05:00
parent ca1e9bc467
commit d580e420d3

View file

@ -64,7 +64,12 @@ var gUpdatesFoundPageId;
* The string to write to the error console..
*/
function LOG(module, string) {
Zotero.debug("AUS:UI " + module + ":" + string);
if (arguments.length == 2) {
Zotero.debug("AUS:UI " + module + ":" + string);
}
else {
Zotero.debug("AUS:UI " + string);
}
}
/**