mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-26 07:06:10 +03:00
Fix crash when closing the viewer when no overlay has been added.
This commit is contained in:
parent
365dad9317
commit
c4428db8a5
@ -127,7 +127,10 @@ $.Viewer = function( options ) {
|
|||||||
canvas: null,
|
canvas: null,
|
||||||
|
|
||||||
// Overlays list. An overlay allows to add html on top of the viewer.
|
// Overlays list. An overlay allows to add html on top of the viewer.
|
||||||
|
// Configured overlays via viewer's options
|
||||||
overlays: [],
|
overlays: [],
|
||||||
|
// Currently opened overlays
|
||||||
|
currentOverlays: [],
|
||||||
|
|
||||||
//private state properties
|
//private state properties
|
||||||
previousBody: [],
|
previousBody: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user