Merge pull request #367 from avandecreme/master

Fix missed copy paste.
This commit is contained in:
iangilman 2014-03-27 09:05:00 -07:00
commit a4d877297e

View File

@ -210,7 +210,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
*/
removeOverlay: function( element ) {
$.console.error("drawer.removeOverlay is deprecated. Use viewer.removeOverlay instead.");
this.viewer.updateOverlay( element );
this.viewer.removeOverlay( element );
return this;
},