From e35dd5a0281c511320c44291a400b7374a0659b0 Mon Sep 17 00:00:00 2001 From: tza Date: Thu, 7 Apr 2022 23:22:23 +0300 Subject: plugin menu title change bug Fixed a bug where steam would sometimes fire message events on its own, causing them to be displayed as plugin titles. --- plugin_loader/templates/plugin_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin_loader/templates') diff --git a/plugin_loader/templates/plugin_view.html b/plugin_loader/templates/plugin_view.html index c95f00fb..8b1e4793 100644 --- a/plugin_loader/templates/plugin_view.html +++ b/plugin_loader/templates/plugin_view.html @@ -10,7 +10,7 @@ }, false); function loadPlugin(name) { - this.parent.postMessage(name, "https://steamloopback.host"); + this.parent.postMessage("PLUGIN_LOADER__"+name, "https://steamloopback.host"); location.href = `/plugins/load_main/${name}`; } -- cgit v1.2.3