diff --git a/modules/default/alert/README.md b/modules/default/alert/README.md
index 756859f9..5f1119e8 100644
--- a/modules/default/alert/README.md
+++ b/modules/default/alert/README.md
@@ -33,16 +33,16 @@ The following properties can be configured:
style |
The style of the notifications.
- Possible values: growl , attached and bar
+ Possible values: growl , attached & bar
Default value: growl
|
effect |
The animation effect of the notification style to use.
- Possible values for growl style: scale , slide , genie and jelly
- Possible values for attached style: flip and bouncyflip
- Possible values for bar style: slidetop and exploader
+ Possible values for growl style: scale , slide , genie & jelly
+ Possible values for attached style: flip & bouncyflip
+ Possible values for bar style: slidetop & exploader
Default value: slide
|
@@ -56,7 +56,7 @@ The following properties can be configured:
welcome_message |
Message shown at startup.
- Possible values: any string
+ Possible values: any string & false
Default value: Welcome, start was successfull!
|
@@ -100,7 +100,7 @@ self.sendNotification("SHOW_ALERT", {title: "Hello", message: "This is a test!",
type (optional) |
The type of the alert.
- Possible values: error , warning , info and success
+ Possible values: error , warning , info & success
Default value: none
|
diff --git a/modules/default/alert/alert.js b/modules/default/alert/alert.js
index 03e54a75..780dde82 100644
--- a/modules/default/alert/alert.js
+++ b/modules/default/alert/alert.js
@@ -71,7 +71,9 @@ Module.register('alert',{
}
},
start: function() {
- this.show_notification(this.config.welcome_message)
+ if (this.config.welcome_message){
+ this.show_notification(this.config.welcome_message)
+ }
Log.info('Starting module: ' + this.name);
}