mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Notifier.isEnabled()
This commit is contained in:
parent
fccc822063
commit
f9ffbd12dd
1 changed files with 6 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ Scholar.Notifier = new function(){
|
|||
this.trigger = trigger;
|
||||
this.disable = disable;
|
||||
this.enable = enable;
|
||||
this.isEnabled = isEnabled;
|
||||
|
||||
function registerColumnTree(ref){
|
||||
return _register('columnTree', ref);
|
||||
|
|
@ -77,6 +78,11 @@ Scholar.Notifier = new function(){
|
|||
}
|
||||
|
||||
|
||||
function isEnabled(){
|
||||
return !_disabled;
|
||||
}
|
||||
|
||||
|
||||
function _register(type, ref){
|
||||
var len = 2;
|
||||
var tries = 10;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue