Viewport messages: add a class to the dialog for easy styling

This commit is contained in:
Chris Adams 2013-07-01 18:26:33 -04:00
parent 7048cda69e
commit 0ed4703bd3

View File

@ -1088,6 +1088,8 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
this.messageDiv = $.makeCenteredNode( div );
$.addClass(this.messageDiv, "openseadragon-message");
this.container.appendChild( this.messageDiv );
},