Line 20: | Line 20: | ||
if ( | if ( | ||
$("#main-container #button").height() >= | $("#main-container #button").height() >= | ||
− | + | 2 * $(window).height() && | |
+ | $("#main-container #button").width() >= 2 * $(window).width() | ||
) { | ) { | ||
− | + | clearInterval(growFn) | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
}, 25) | }, 25) |
Revision as of 20:17, 11 October 2018