mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-23 19:36:53 +00:00
fix volume
This commit is contained in:
parent
05af5560ae
commit
d926c8f52d
@ -15,6 +15,7 @@ if(localStorage.getItem('volume') == 'off') {
|
|||||||
|
|
||||||
if(localStorage.getItem('volumeValue') != null) {
|
if(localStorage.getItem('volumeValue') != null) {
|
||||||
$('.video-self').tubeplayer('volume', localStorage.getItem('volumeValue'));
|
$('.video-self').tubeplayer('volume', localStorage.getItem('volumeValue'));
|
||||||
|
$('.volume').val(localStorage.getItem('volumeValue'));
|
||||||
} else {
|
} else {
|
||||||
$('.volume').val('75');
|
$('.volume').val('75');
|
||||||
$('.video-self').tubeplayer('volume', 75);
|
$('.video-self').tubeplayer('volume', 75);
|
||||||
|
Loading…
Reference in New Issue
Block a user