コメント欄ctl+enter対応化
This commit is contained in:
parent
4fe4eacc00
commit
d87eece1d2
@ -21,7 +21,7 @@
|
||||
{{$anon_extras}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<textarea id="comment-edit-text-{{$id}}" class="comment-edit-text" placeholder="{{$comment}}" name="body" ondragenter="linkdropper(event);" ondragleave="linkdropexit(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" ></textarea>
|
||||
<textarea id="comment-edit-text-{{$id}}" class="comment-edit-text" placeholder="{{$comment}}" name="body" ondragenter="linkdropper(event);" ondragleave="linkdropexit(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" onkeydown="if(event.ctrlKey&&event.keyCode==13){document.getElementById('comment-edit-submit-{{$id}}').click();return false};"></textarea>
|
||||
<div id="comment-tools-{{$id}}" class="pt-2 comment-tools">
|
||||
<div id="comment-edit-bb-{{$id}}" class="btn-toolbar pull-left">
|
||||
<div class="btn-group mr-2">
|
||||
|
Reference in New Issue
Block a user