This commit is contained in:
harukin 2018-10-31 16:20:25 +09:00
parent 844dcce556
commit ff4ec8e059

View File

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