mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 14:53:14 +03:00
Viewer.showMessage() hides any previous message
This commit is contained in:
parent
d447bd5612
commit
b912896158
@ -1080,6 +1080,8 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
|
||||
* @param {String} text message
|
||||
*/
|
||||
showMessage: function ( message ) {
|
||||
this.hideMessage();
|
||||
|
||||
var div = this.messageDiv = $.makeNeutralElement( "div" );
|
||||
div.appendChild( document.createTextNode( message ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user