提交 b45b604d 编写于 作者: F Filipa Lacerda

[ci skip] Move click handler to button instead of `li``

上级 c433f520
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
<div class="note-form-actions"> <div class="note-form-actions">
<div class="pull-left btn-group append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"> <div class="pull-left btn-group append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown">
<button <button
@click="handleSave()" @click="handleSave"
:disabled="!note.length" :disabled="!note.length"
class="btn btn-nr btn-create comment-btn js-comment-button js-comment-submit-button" class="btn btn-nr btn-create comment-btn js-comment-button js-comment-submit-button"
type="button"> type="button">
...@@ -213,16 +213,17 @@ ...@@ -213,16 +213,17 @@
class="fa fa-caret-down toggle-icon"> class="fa fa-caret-down toggle-icon">
</i> </i>
</button> </button>
<ul class="note-type-dropdown dropdown-open-top dropdown-menu"> <ul class="note-type-dropdown dropdown-open-top dropdown-menu">
<li <li :class="{ 'droplab-item-selected': noteType === 'comment' }">
:class="{ 'droplab-item-selected': noteType === 'comment' }"
@click.prevent="setNoteType('comment')">
<button <button
type="button" type="button"
class="btn btn-transparent"> class="btn btn-transparent"
@click.prevent="setNoteType('comment')">
<i <i
aria-hidden="true" aria-hidden="true"
class="fa fa-check icon"></i> class="fa fa-check icon">
</i>
<div class="description"> <div class="description">
<strong>Comment</strong> <strong>Comment</strong>
<p> <p>
...@@ -232,12 +233,11 @@ ...@@ -232,12 +233,11 @@
</button> </button>
</li> </li>
<li class="divider droplab-item-ignore"></li> <li class="divider droplab-item-ignore"></li>
<li <li :class="{ 'droplab-item-selected': noteType === 'discussion' }">
:class="{ 'droplab-item-selected': noteType === 'discussion' }"
@click.prevent="setNoteType('discussion')">
<button <button
type="button" type="button"
class="btn btn-transparent"> class="btn btn-transparent"
@click.prevent="setNoteType('discussion')">
<i <i
aria-hidden="true" aria-hidden="true"
class="fa fa-check icon"> class="fa fa-check icon">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册