Now scrolling vertically to opened errors/messages.
This commit is contained in:
parent
2f0a96885e
commit
0790463b8d
|
@ -1534,6 +1534,8 @@ Wiki.prototype.display_message = function ( text, nodes, position_after ) {
|
||||||
else
|
else
|
||||||
appendChildNodes( "notes", div );
|
appendChildNodes( "notes", div );
|
||||||
|
|
||||||
|
new ScrollTo( div );
|
||||||
|
|
||||||
return div;
|
return div;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1572,6 +1574,8 @@ Wiki.prototype.display_error = function ( text, nodes, position_after ) {
|
||||||
else
|
else
|
||||||
appendChildNodes( "notes", div );
|
appendChildNodes( "notes", div );
|
||||||
|
|
||||||
|
new ScrollTo( div );
|
||||||
|
|
||||||
return div;
|
return div;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue