diff --git a/grepolis.user.js b/grepolis.user.js index 52ef78c..65ab034 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -10,7 +10,7 @@ // // @match http://*.grepolis.com/game/* // -// @version 1.0.45 +// @version 1.0.46 // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // ==/UserScript== @@ -60,11 +60,11 @@ }); logWindowElement.empty(); - function log() { + function log(xText) { console.log(arguments); var date = new Date(); // Timestamp to prepend var timestamp = new Date(date.getTime() - (date.getTimezoneOffset() * 60000)).toJSON(); - logWindowElement.append(timestamp + ": " + arguments.toString() + "
"); + logWindowElement.append(timestamp + ": " + xText + "
"); logWindowElement.scrollTop(logWindowElement[0].scrollHeight); }