diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index 9ca0d8fd4..a76b8bfdf 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -733,7 +733,7 @@ initializeWindows = function() { new Request({ url: 'api/v2/app/shutdown', onSuccess: function() { - document.write("QBT_TR(qBittorrent has been shutdown.)QBT_TR[CONTEXT=HttpServer]

QBT_TR(qBittorrent has been shutdown.)QBT_TR[CONTEXT=HttpServer]

"); + document.write(' QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]

QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]

'); stop(); } }).send();