Line 4: | Line 4: | ||
$("#audioLanding")[0].play() | $("#audioLanding")[0].play() | ||
$("#audioLanding")[0].loop = true | $("#audioLanding")[0].loop = true | ||
− | $("#audioLanding")[0].volume = 0. | + | $("#audioLanding")[0].volume = 0.20 |
$('[data-toggle="popover"]').popover() | $('[data-toggle="popover"]').popover() | ||
Line 20: | Line 20: | ||
} | } | ||
if ( | if ( | ||
− | $("#main-container #button").height() <= | + | $("#main-container #button").height() <= 2 * $(window).height() |
) { | ) { | ||
$("#main-container #button").height( | $("#main-container #button").height( | ||
Line 28: | Line 28: | ||
if ( | if ( | ||
$("#main-container #button").height() > | $("#main-container #button").height() > | ||
− | $(window).height() | + | 2 * $(window).height() |
) { | ) { | ||
if ( | if ( | ||
Line 35: | Line 35: | ||
) { | ) { | ||
$("#main-container").css("overflow-x", "hidden"); | $("#main-container").css("overflow-x", "hidden"); | ||
+ | $("#main-container").css("overflow-y", "hidden"); | ||
$("#main-container #button").css("pointer-events", "none") | $("#main-container #button").css("pointer-events", "none") | ||
$("#main-container #button").css('border-radius',"0%") | $("#main-container #button").css('border-radius',"0%") |
Revision as of 03:07, 18 October 2018