aboutsummaryrefslogtreecommitdiffhomepage
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 0cd75b5..c35e4c7 100644
--- a/app.js
+++ b/app.js
@@ -25,7 +25,7 @@ const app = new Vue({
25 } 25 }
26 26
27 // Look for a new message if an endpoint is provided. 27 // Look for a new message if an endpoint is provided.
28 if (this.config.message.url) { 28 if (this.config.message && this.config.message.url) {
29 this.getMessage(this.config.message.url).then(function(message){ 29 this.getMessage(this.config.message.url).then(function(message){
30 // keep the original config value if no value is provided by the endpoint 30 // keep the original config value if no value is provided by the endpoint
31 for (const prop of ['title','style','content']) { 31 for (const prop of ['title','style','content']) {