This commit is contained in:
Your Name 2018-10-31 15:53:31 +09:00
parent 715e0b7ff9
commit 844dcce556

View File

@ -23,12 +23,12 @@ $(document).ready(function(){
}); });
}); });
alert('ない');
$(document).on('click', '#button', function(e) { $(document).on('click', '#button', function(e) {
alert('ある'); alert('ない');
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
if($('#profile-jot-form').size()){ if($('#profile-jot-form').size()){
alert('ある');
$(this).toggleClass('active'); $(this).toggleClass('active');
$(window).scrollTop(0); $(window).scrollTop(0);
$('#jot-popup').toggle(); $('#jot-popup').toggle();