Merge pull request #10190 from Piccirello/webui-sorted-icon

Fix direction of Web UI sorted column icon
This commit is contained in:
Mike Tzou 2019-02-01 13:20:54 +08:00 committed by GitHub
commit 0facdf3dfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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 {

View file

@ -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;