From 286ba36bf3a040efc6bd54148722e93ed3002ed3 Mon Sep 17 00:00:00 2001 From: leesei Date: Fri, 6 Jan 2017 11:30:09 +0800 Subject: [PATCH] fix param for `update()` Changes to be committed: modified: src/overlay.js --- src/overlay.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/overlay.js b/src/overlay.js index 25cc50d2..7ad7a646 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -41,6 +41,7 @@ * compatibility. * @member OverlayPlacement * @memberof OpenSeadragon + * @see OpenSeadragon.Placement * @static * @readonly * @type {Object} @@ -400,7 +401,7 @@ * @param {OpenSeadragon.Point|OpenSeadragon.Rect|Object} location * If an object is specified, the options are the same than the constructor * except for the element which can not be changed. - * @param {OpenSeadragon.Placement} position + * @param {OpenSeadragon.Placement} placement */ update: function(location, placement) { var options = $.isPlainObject(location) ? location : {