From 8dd334dc5d9e088c3d62b2e18ddb10fb31d6ebc4 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 19 Dec 2018 18:26:05 +0800 Subject: [PATCH] Change qbt exit message to HTML5 --- src/webui/www/private/scripts/mocha-init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();