Line 13: | Line 13: | ||
$("#main-container #button").height() * 1.05 | $("#main-container #button").height() * 1.05 | ||
) | ) | ||
− | + | if ( | |
− | + | $("#main-container #button").height() >= | |
− | + | 2 * $(window).height() && | |
− | + | $("#main-container #button").width() >= 2 * $(window).width() | |
− | + | ) { | |
− | + | $("#main-container #button").css("pointer-events", "none") | |
− | + | } | |
}, 25) | }, 25) | ||
}) | }) |
Revision as of 18:46, 11 October 2018