Skip to content
Snippets Groups Projects
Commit f485f297 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fix for BIESt #300

parent c2015265
No related branches found
No related tags found
No related merge requests found
...@@ -47,12 +47,12 @@ ...@@ -47,12 +47,12 @@
<div v-html="comment.html" class="html"></div> <div v-html="comment.html" class="html"></div>
<textarea class="edit" <textarea class="edit"
v-html="comment.content" v-html="comment.content"
@keyup.enter.exact="saveComment" @keydown.enter.exact="saveComment"
@keyup.escape.exact="editComment"></textarea> @keyup.escape.exact="editComment"></textarea>
</div> </div>
<div class="time"> <div class="time">
<studip-date-time :timestamp="comment.mkdate" :relative="true"></studip-date-time> <studip-date-time :timestamp="comment.mkdate" :relative="true"></studip-date-time>
<a href="" v-if="comment.writable" @click.prevent="editComment" class="edit_comment" :title="$gettext('Bearbeiten.')"> <a href="" v-if="comment.writable" @click.prevent.stop="editComment" class="edit_comment" :title="$gettext('Bearbeiten.')">
<studip-icon shape="edit" size="14" role="inactive"></studip-icon> <studip-icon shape="edit" size="14" role="inactive"></studip-icon>
</a> </a>
<a href="" @click.prevent="answerComment" class="answer_comment" :title="$gettext('Hierauf antworten.')"> <a href="" @click.prevent="answerComment" class="answer_comment" :title="$gettext('Hierauf antworten.')">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment