Skip to content

Commit

Permalink
fix views
Browse files Browse the repository at this point in the history
  • Loading branch information
nswbmw committed May 14, 2017
1 parent 27dc6de commit 92b59fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/create.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="ui grid">
<div class="four wide column">
<a class="avatar"
<a class="avatar avatar-link"
href="/posts?author=<%= user._id %>"
data-title="<%= user.name %> | <%= ({m: '男', f: '女', x: '保密'})[user.gender] %>"
data-content="<%= user.bio %>">
Expand Down
2 changes: 1 addition & 1 deletion views/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// 点击按钮弹出下拉框
$('.ui.dropdown').dropdown();
// 鼠标悬浮在头像上,弹出气泡提示框
$('.post-content .avatar').popup({
$('.post-content .avatar-link').popup({
inline: true,
position: 'bottom right',
lastResort: 'bottom right',
Expand Down

0 comments on commit 92b59fc

Please sign in to comment.