diff --git a/randomwallpaper@iflow.space/history.js b/randomwallpaper@iflow.space/history.js index 405fcdb..ab7a151 100644 --- a/randomwallpaper@iflow.space/history.js +++ b/randomwallpaper@iflow.space/history.js @@ -109,7 +109,7 @@ let HistoryController = new Lang.Class({ * Clear the history and delete all photos except the current one. * @returns {boolean} */ - clear() { + clear: function() { let firstHistoryElement = this.history[0]; if (firstHistoryElement) diff --git a/randomwallpaper@iflow.space/logger.js b/randomwallpaper@iflow.space/logger.js index d0a4fc0..9481ac9 100644 --- a/randomwallpaper@iflow.space/logger.js +++ b/randomwallpaper@iflow.space/logger.js @@ -11,7 +11,7 @@ let Logger = new Lang.Class({ }, _log: function(level, message) { - global.log(`${this._prefix} [${level}] >> ${this._callingClass} :: ${message}`); + global.log(this._prefix + " [" + level + "] >> " + this._callingClass + " :: " + message); }, debug: function (message) {