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) {
alert('ない');
e.preventDefault();
e.stopPropagation();
if($('#profile-jot-form').size()){
alert('ある');
$(this).toggleClass('active');
$(window).scrollTop(0);
$('#jot-popup').toggle();
$('#profile-jot-text').focus();
}
$(this).toggleClass('active');
$(window).scrollTop(0);
$('#jot-popup').toggle();
$('#profile-jot-text').focus();
});
</script>";