Fix clicking next and previous show buttons on macOS Safari.

This commit is contained in:
JackDandy 2018-03-28 17:06:12 +01:00
parent ddc95e7eba
commit 7ea748a189
4 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,9 @@
### 0.15.2 (2018-03-28 01:45:00 UTC) ### 0.15.3 (2018-03-28 16:55:00 UTC)
* Fix clicking next and previous show buttons on macOS Safari
### 0.15.2 (2018-03-28 01:45:00 UTC)
* Fix search for wanted when adding new show * Fix search for wanted when adding new show

View file

@ -321,7 +321,7 @@ function fetch_branches() {
add_option_to_branches(text); add_option_to_branches(text);
}); });
$('#branchCheckout').removeAttr('disabled'); $('#branchCheckout').removeAttr('disabled');
$('#branchVersion').find('option[value="' + data['current'] + '"]').attr('selected', 'selected'); $('#branchVersion').find('option[value="' + data['current'] + '"]').prop('selected', !0);
} else { } else {
add_option_to_branches('No branches available'); add_option_to_branches('No branches available');
} }

View file

@ -444,7 +444,7 @@ $(document).ready(function () {
}); });
if (cur_most_provider != '' && first) { if (cur_most_provider != '' && first) {
$('#metadataType option[value=' + cur_most_provider + ']').attr('selected', 'selected'); $('#metadataType option[value=' + cur_most_provider + ']').prop('selected', !0);
$(this).showHideMetadata(); $(this).showHideMetadata();
} }

View file

@ -20,7 +20,7 @@ $(document).ready(function() {
//noinspection JSUnresolvedVariable //noinspection JSUnresolvedVariable
select$.find('option[value="' + config.TVShowList[('nextShow' === $(this).attr('id') select$.find('option[value="' + config.TVShowList[('nextShow' === $(this).attr('id')
? (index < config.TVShowList.length - 1 ? index + 1 : 0) ? (index < config.TVShowList.length - 1 ? index + 1 : 0)
: (0 < index ? index - 1 : config.TVShowList.length - 1))] + '"]').attr('selected', 'selected'); : (0 < index ? index - 1 : config.TVShowList.length - 1))] + '"]').prop('selected', !0);
select$.change(); select$.change();
return !1; return !1;
}); });