Fixed broken viewer.raiseEvent calls in drawer.js

This commit is contained in:
Ian Gilman 2013-05-10 11:32:22 -07:00
parent 893c43244f
commit c6f8b5e192

View File

@ -228,8 +228,7 @@ $.Drawer.prototype = {
}
if( this.viewer ){
this.viewer.raiseEvent( 'clear-overlay', {
viewer: this.viewer,
element: element
viewer: this.viewer
});
}
return this;
@ -583,8 +582,8 @@ function updateLevel( drawer, haveDrawn, level, levelOpacity, levelVisibility, v
level: level,
opacity: levelOpacity,
visibility: levelVisibility,
topleft: viewportTopLeft,
bottomright: viewportBottomRight,
topleft: viewportTL,
bottomright: viewportBR,
currenttime: currentTime,
best: best
});