funciton name changed to
Signed-off-by: Minhaz A V <minhazav@gmail.com>
This commit is contained in:
parent
818299da11
commit
cbcf23f30a
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ var Notifier = {
|
|||
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
|
||||
if (global.localStorage) {
|
||||
if (global.localStorage.getItem('notifications_hidden') === 'true')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue