fix param for update()

Changes to be committed:
	modified:   src/overlay.js
This commit is contained in:
leesei 2017-01-06 11:30:09 +08:00
parent 18454ff3de
commit 286ba36bf3

View File

@ -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 : {