persistent = true, as default param in setToolbarHidden() method

Signed-off-by: Minhaz A V <minhazav@gmail.com>
pull/21833/head
Minhaz A V 2016-03-23 13:50:24 +05:30
parent 1875377684
commit 818299da11
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ var Notifier = {
action: "notifier_enabled",
value: false
});
self.setToolbarHidden(true);
self.setToolbarHidden(true, false);
return;
}
if (result === 'default') {
@ -216,7 +216,7 @@ var Notifier = {
return enabled === 'true';
},
setToolbarHidden: function(hidden, persistent) {
setToolbarHidden: function(hidden, persistent = true) {
this.toolbarHidden = hidden;
dis.dispatch({
action: "notifier_enabled",