mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +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,
|
||||
|
||||
// Overlays list. An overlay allows to add html on top of the viewer.
|
||||
overlays: [],
|
||||
// Configured overlays via viewer's options
|
||||
overlays: [],
|
||||
// Currently opened overlays
|
||||
currentOverlays: [],
|
||||
|
||||
//private state properties
|
||||
previousBody: [],
|
||||
|
Loading…
Reference in New Issue
Block a user