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 ){ if( this.viewer ){
this.viewer.raiseEvent( 'clear-overlay', { this.viewer.raiseEvent( 'clear-overlay', {
viewer: this.viewer, viewer: this.viewer
element: element
}); });
} }
return this; return this;
@ -583,8 +582,8 @@ function updateLevel( drawer, haveDrawn, level, levelOpacity, levelVisibility, v
level: level, level: level,
opacity: levelOpacity, opacity: levelOpacity,
visibility: levelVisibility, visibility: levelVisibility,
topleft: viewportTopLeft, topleft: viewportTL,
bottomright: viewportBottomRight, bottomright: viewportBR,
currenttime: currentTime, currenttime: currentTime,
best: best best: best
}); });