mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 08:36:10 +03:00
removing unneccessary if
This commit is contained in:
parent
a18460a310
commit
d6cdd4028c
@ -635,9 +635,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
|
|||||||
console.log( document.webkitIsFullScreen );
|
console.log( document.webkitIsFullScreen );
|
||||||
// The target of the event is always the document,
|
// The target of the event is always the document,
|
||||||
// but it is possible to retrieve the fullscreen element through the API
|
// but it is possible to retrieve the fullscreen element through the API
|
||||||
if( !_this.isFullPage() ){
|
|
||||||
_this.setFullPage( true );
|
_this.setFullPage( true );
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
_this.setFullPage( false );
|
_this.setFullPage( false );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user