fix: zotero options not visible when viewId is zero
- regression from 9202365fc6
Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
Change-Id: I4554a5fcc9b0c5dce48c8b35ea32142ff1c323f3
This commit is contained in:
parent
1a1835bd90
commit
7a75153290
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ L.Control.UIManager = L.Control.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
onUpdateViews: function () {
|
onUpdateViews: function () {
|
||||||
if (!this.map._docLayer || !this.map._docLayer._viewId)
|
if (!this.map._docLayer || typeof this.map._docLayer._viewId === 'undefined')
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var myViewId = this.map._docLayer._viewId;
|
var myViewId = this.map._docLayer._viewId;
|
||||||
|
|
Loading…
Reference in a new issue