mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix clicking next and previous show buttons on macOS Safari.
This commit is contained in:
parent
ddc95e7eba
commit
7ea748a189
4 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -321,7 +321,7 @@ function fetch_branches() {
|
|||
add_option_to_branches(text);
|
||||
});
|
||||
$('#branchCheckout').removeAttr('disabled');
|
||||
$('#branchVersion').find('option[value="' + data['current'] + '"]').attr('selected', 'selected');
|
||||
$('#branchVersion').find('option[value="' + data['current'] + '"]').prop('selected', !0);
|
||||
} else {
|
||||
add_option_to_branches('No branches available');
|
||||
}
|
||||
|
|
|
@ -444,7 +444,7 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ $(document).ready(function() {
|
|||
//noinspection JSUnresolvedVariable
|
||||
select$.find('option[value="' + config.TVShowList[('nextShow' === $(this).attr('id')
|
||||
? (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();
|
||||
return !1;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue