From 81943fb3b08da9750c942ac6acb85ba9c415bc77 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Sun, 20 Jan 2019 15:52:38 -0800 Subject: [PATCH 1/2] Fix direction of Web UI sorted column icon --- src/webui/www/private/css/dynamicTable.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/www/private/css/dynamicTable.css b/src/webui/www/private/css/dynamicTable.css index 6b024783b..ac5f65fd6 100644 --- a/src/webui/www/private/css/dynamicTable.css +++ b/src/webui/www/private/css/dynamicTable.css @@ -78,14 +78,14 @@ tr.dynamicTableHeader { } .dynamicTable th.sorted { - background-image: url(../images/qbt-theme/go-down.svg); + background-image: url(../images/qbt-theme/go-up.svg); background-position: right; background-repeat: no-repeat; background-size: 15px; } .dynamicTable th.sorted.reverse { - background-image: url(../images/qbt-theme/go-up.svg); + background-image: url(../images/qbt-theme/go-down.svg); } .dynamicTable td img.flags { From ece27b84ccd1f089491000927a0c9de31ab48b9f Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Sun, 20 Jan 2019 16:00:29 -0800 Subject: [PATCH 2/2] Fix wrong element id being used --- src/webui/www/private/scripts/download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js index 233f8f16e..4b5bacdb5 100644 --- a/src/webui/www/private/scripts/download.js +++ b/src/webui/www/private/scripts/download.js @@ -79,7 +79,7 @@ var changeCategorySelect = function(item) { item.nextElementSibling.value = ""; item.nextElementSibling.select(); - if ($('autotmm').selectedIndex == 1) + if ($('autoTMM').selectedIndex == 1) $('savepath').value = defaultSavePath; } else { @@ -87,7 +87,7 @@ var changeCategorySelect = function(item) { var text = item.options[item.selectedIndex].innerHTML; item.nextElementSibling.value = text; - if ($('autotmm').selectedIndex == 1) { + if ($('autoTMM').selectedIndex == 1) { var categoryName = item.value; var category = categories[categoryName]; var savePath = defaultSavePath;