diff --git a/plusfuture/plusfuture.php b/plusfuture/plusfuture.php index 25d3919..2336bb7 100755 --- a/plusfuture/plusfuture.php +++ b/plusfuture/plusfuture.php @@ -26,7 +26,7 @@ $(document).ready(function(){ $(document).on('click', '#button', function(e) { e.preventDefault(); e.stopPropagation(); - if($('#jot-popup').length){ + if($('#jot-popup').size()){ $(this).toggleClass('active'); $(window).scrollTop(0); $('#jot-popup').toggle();