funciton name changed to

Signed-off-by: Minhaz A V <minhazav@gmail.com>
pull/21833/head
Minhaz A V 2016-03-23 15:11:09 +05:30
parent 818299da11
commit cbcf23f30a
1 changed files with 3 additions and 1 deletions

View File

@ -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')