mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Reinstating a small check.
This commit is contained in:
parent
1f13d1f909
commit
7b80263718
@ -2810,7 +2810,9 @@ function lightUp() {
|
||||
|
||||
|
||||
function onHome() {
|
||||
this.viewport.goHome();
|
||||
if ( this.viewport ) {
|
||||
this.viewport.goHome();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user