mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Stop JS strict warnings from Hash.get() misses
This commit is contained in:
parent
53aae7751c
commit
4b48ff0414
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ Scholar.Hash = function(){
|
|||
}
|
||||
|
||||
Scholar.Hash.prototype.get = function(in_key){
|
||||
return this.items[in_key];
|
||||
return this.items[in_key] ? this.items[in_key] : false;
|
||||
}
|
||||
|
||||
Scholar.Hash.prototype.set = function(in_key, in_value){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue