From 6022fa124813549a5c297e086878f2f4e0169547 Mon Sep 17 00:00:00 2001 From: Sascha Leib Date: Wed, 3 Sep 2025 18:27:36 +0200 Subject: [PATCH] Small fix Fix where JS compression raises an error. --- plugin.info.txt | 2 +- script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.info.txt b/plugin.info.txt index 7a8f7e3..afc7202 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base botmon author Sascha Leib email ad@hominem.com -date 2025-09-01 +date 2025-09-03 name Bot Monitoring desc Live monitoring of bot traffic on your DokuWiki instance (under development) url https://www.dokuwiki.org/plugin:botmon diff --git a/script.js b/script.js index 5ced5d2..f83b6c8 100644 --- a/script.js +++ b/script.js @@ -879,7 +879,7 @@ BotMon.live = { 'title': "Platform: " + platformName }, platformName)); - const clientName = (data._client ? data._client.n: 'Unknown') + const clientName = (data._client ? data._client.n: 'Unknown'); span1.appendChild(make('span', { /* Client */ 'class': 'icon client client_' + (data._client ? data._client.id : 'unknown'), 'title': "Client: " + clientName