mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fixed Issue #1789: Help popup in web client not clearing after close
I modified line 140: Replacing the .append with .prepend. This allows for a running log of previous help requests to be pushed to the bottom.
This commit is contained in:
parent
792b52a77c
commit
3e56de93e5
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ let options_plugin = (function () {
|
|||
// is helppopup set? and if so, does this Text have type 'help'?
|
||||
if ('helppopup' in options && options['helppopup'] ) {
|
||||
if (kwargs && ('type' in kwargs) && (kwargs['type'] == 'help') ) {
|
||||
$('#helpdialogcontent').append('<div>'+ args + '</div>');
|
||||
$('#helpdialogcontent').prepend('<div>'+ args + '</div>');
|
||||
plugins['popups'].togglePopup("#helpdialog");
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue