Messages/errors with no given positioning are now by default positioned at the top of the notes (instead of the bottom).
This commit is contained in:
parent
4ac6eb6322
commit
d22e521b74
|
@ -2547,7 +2547,7 @@ Wiki.prototype.display_message = function ( text, nodes, position_after ) {
|
|||
else if ( this.focused_editor )
|
||||
insertSiblingNodesAfter( this.focused_editor.holder, div )
|
||||
else
|
||||
appendChildNodes( "notes", div );
|
||||
insertSiblingNodesAfter( "notes_top", div );
|
||||
|
||||
this.scroll_to( div );
|
||||
|
||||
|
@ -2580,7 +2580,7 @@ Wiki.prototype.display_error = function ( text, nodes, position_after ) {
|
|||
else if ( this.focused_editor )
|
||||
insertSiblingNodesAfter( this.focused_editor.holder, div )
|
||||
else
|
||||
appendChildNodes( "notes", div );
|
||||
insertSiblingNodesAfter( "notes_top", div );
|
||||
|
||||
this.scroll_to( div );
|
||||
|
||||
|
|
Reference in New Issue