Skip to content

Commit

Permalink
#899 fix bug: 点击tab中的评论文字, 会弹出空页面
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Jan 5, 2019
1 parent 6b7133b commit 782a5fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/steedos-app-chat/client/record_chat.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ Template.steedos_record_chat.events

'click a': (e, t)->
e.preventDefault()
if e.target?.href
if e.target?.href && e.target.href != 'javascript:void(0);'
Steedos.openWindow(e.target.href)
2 changes: 1 addition & 1 deletion packages/steedos-app-chat/client/record_chat_input.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
aria-labelledby="tab-default-1__item">
<div class="slds-tabs_scoped">
<ul class="slds-tabs_scoped__nav" role="tablist">
<li class="slds-tabs_scoped__item slds-is-active" title="Item One" role="presentation"><a
<li class="slds-tabs_scoped__item slds-is-active" role="presentation"><a
class="slds-tabs_scoped__link" href="javascript:void(0);" role="tab" tabindex="0"
aria-selected="true" aria-controls="tab-scoped-1" id="tab-scoped-1__item">评论</a></li>
</ul>
Expand Down

0 comments on commit 782a5fc

Please sign in to comment.