mirror of
https://github.com/exane/not-gwent-online
synced 2025-07-27 20:33:28 +00:00
change music hover
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Start music.
|
||||
$(".video-self").tubeplayer({
|
||||
$(".video-self2").tubeplayer({
|
||||
width: 0.001,
|
||||
height: 0.001,
|
||||
initialVideo: "UE9fPWy1_o4",
|
||||
@@ -33,6 +33,17 @@ $('.volume').on('blur', function() {
|
||||
localStorage.setItem('volumeValue', val);
|
||||
});
|
||||
|
||||
// Show music options.
|
||||
var musicHover;
|
||||
$('.music-icon, .music-options').hover(function() {
|
||||
clearTimeout(musicHover);
|
||||
$('.music-options').fadeIn();
|
||||
}, function() {
|
||||
musicHover = setTimeout(function() {
|
||||
$('.music-options').fadeOut();
|
||||
}, 500);
|
||||
});
|
||||
|
||||
// Music options.
|
||||
$('.music-icon').on('click', function() {
|
||||
if($(this).hasClass('active')) {
|
||||
|
Reference in New Issue
Block a user