mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-30 04:00:13 +03:00
Reinstating a small check.
This commit is contained in:
parent
1f13d1f909
commit
7b80263718
1 changed files with 3 additions and 1 deletions
|
@ -2810,7 +2810,9 @@ function lightUp() {
|
||||||
|
|
||||||
|
|
||||||
function onHome() {
|
function onHome() {
|
||||||
this.viewport.goHome();
|
if ( this.viewport ) {
|
||||||
|
this.viewport.goHome();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue