mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-20 05:51:08 +02:00
funciton name changed to
Signed-off-by: Minhaz A V <minhazav@gmail.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user