Corrected documentation and isFullScreen function

This commit is contained in:
Jachimike Onuoha 2021-12-02 16:55:07 -05:00
parent 664b707e5f
commit f84d241367
2 changed files with 4 additions and 5 deletions

View File

@ -444,11 +444,10 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea
/**
* Determine whether arbitrary tile requests can be made against a service with the given profile
* @function
* @param {array} options - IIIF profile array
* @param {Array|String} options.profile
* @param {Object} options - IIIF option
* @param {String} options.profile
* @param {Number} options.version
* @param {Number} options.extraFeatures
* @throws {Error}
* @returns {Boolean}
*/
function canBeTiled ( options ) {

View File

@ -1255,10 +1255,10 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
//
/**
* @function
* @return {Boolean} returns true if the viewer is in fullscreen
* @returns {Boolean} returns true if the viewer is in fullscreen
*/
isFullScreen: function () {
return $.setFullScreen.fullScreen;
return $.isFullScreen() && this.isFullPage();
},
/**