From 3f8f9a396286af2b26929ae61d9074e7a9dfcee6 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Thu, 8 Aug 2019 05:12:48 -0700 Subject: [PATCH] Remove html tags from inline page This page's content is inserted into the existing page, so the presence of an tag is incorrect. --- src/webui/www/private/preferences.html | 99 +++++++++++--------------- 1 file changed, 41 insertions(+), 58 deletions(-) diff --git a/src/webui/www/private/preferences.html b/src/webui/www/private/preferences.html index e24a57162..9308e71c2 100644 --- a/src/webui/www/private/preferences.html +++ b/src/webui/www/private/preferences.html @@ -1,61 +1,44 @@ - - + +
+ +
+
- - - QBT_TR(Download from URLs)QBT_TR[CONTEXT=downloadFromURL] - - - - - - + - - - + $('PrefDownloadsLink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('DownloadsTab').removeClass('invisible'); + }); + $('PrefConnectionLink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('ConnectionTab').removeClass('invisible'); + }); + $('PrefSpeedLink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('SpeedTab').removeClass('invisible'); + }); + $('PrefBittorrentLink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('BittorrentTab').removeClass('invisible'); + }); + $('PrefWebUILink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('WebUITab').removeClass('invisible'); + }); + $('PrefAdvancedLink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('AdvancedTab').removeClass('invisible'); + }); +