funciton name changed to
Signed-off-by: Minhaz A V <minhazav@gmail.com>pull/21833/head
parent
818299da11
commit
cbcf23f30a
|
@ -128,7 +128,9 @@ var Notifier = {
|
||||||
return global.Notification.permission == 'default';
|
return global.Notification.permission == 'default';
|
||||||
},
|
},
|
||||||
|
|
||||||
showToolbar: function() {
|
// Function to be used by clients to check weather or not to
|
||||||
|
// show the toolbar.
|
||||||
|
shouldShowToolbar: function() {
|
||||||
// Check localStorage for any such meta data
|
// Check localStorage for any such meta data
|
||||||
if (global.localStorage) {
|
if (global.localStorage) {
|
||||||
if (global.localStorage.getItem('notifications_hidden') === 'true')
|
if (global.localStorage.getItem('notifications_hidden') === 'true')
|
||||||
|
|
Loading…
Reference in New Issue