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:
Timothy Carlisle 2019-08-15 02:19:31 -05:00
parent 792b52a77c
commit 3e56de93e5

View file

@ -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;
}