mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Midori 0.4.3 support
This commit is contained in:
@@ -55,8 +55,8 @@ Module.register("compliments", {
|
||||
|
||||
var self = this;
|
||||
if (this.config.remoteFile != null) {
|
||||
this.complimentFile((response) => {
|
||||
this.config.compliments = JSON.parse(response);
|
||||
this.complimentFile(function(response) {
|
||||
self.config.compliments = JSON.parse(response);
|
||||
self.updateDom();
|
||||
});
|
||||
}
|
||||
@@ -197,4 +197,4 @@ Module.register("compliments", {
|
||||
}
|
||||
},
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user