diff --git a/evennia/commands/default/help.py b/evennia/commands/default/help.py index c5a2b7f25e..a4ebc03e35 100644 --- a/evennia/commands/default/help.py +++ b/evennia/commands/default/help.py @@ -68,7 +68,7 @@ class CmdHelp(Command): evmore.msg(self.caller, text) return - self.msg((text, {"window": "help"})) + self.msg((text, {"type": "help"})) @staticmethod def format_help_entry(title, help_text, aliases=None, suggested=None): diff --git a/evennia/web/webclient/static/webclient/js/webclient_gui.js b/evennia/web/webclient/static/webclient/js/webclient_gui.js index ba2e0f1121..7f499253f9 100644 --- a/evennia/web/webclient/static/webclient/js/webclient_gui.js +++ b/evennia/web/webclient/static/webclient/js/webclient_gui.js @@ -253,7 +253,7 @@ function onText(args, kwargs) { // append message to previous ones, then scroll so latest is at // the bottom. Send 'cls' kwarg to modify the output class. var renderto = "main"; - if (kwargs["window"] == "help") { + if (kwargs["type"] == "help") { if (("helppopup" in options) && (options["helppopup"])) { renderto = "#helpdialog"; } @@ -345,7 +345,7 @@ function onBeforeUnload() { return "You are about to leave the game. Please confirm."; } -// Notifications +// Notifications var unread = 0; var originalTitle = document.title; var focused = true;