removing unneccessary if

This commit is contained in:
thatcher 2013-02-27 09:46:33 -05:00
parent a18460a310
commit d6cdd4028c

View File

@ -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 );
} }