Skip to content

Commit

Permalink
fix($js-avatar): avatar display in mobile-nav
Browse files Browse the repository at this point in the history
from
JasonMrazW@bd2d429665e5108949
19c4ccc9aa4509842dba74
  • Loading branch information
MOxFIVE committed Jan 21, 2016
1 parent 13127f5 commit c8b716d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion layout/_partial/mobile-nav.ejs
Expand Up @@ -6,7 +6,11 @@
<div class="intrude-less"> <div class="intrude-less">
<header id="header" class="inner"> <header id="header" class="inner">
<a href="/" class="profilepic"> <a href="/" class="profilepic">
<img lazy-src="<%=theme.avatar%>" class="js-avatar"> <% if (theme.animate){ %>
<img lazy-src="<%=theme.avatar%>" class="js-avatar">
<% } else { %>
<img src="<%=theme.avatar%>" class="js-avatar" style="width: 100%; height: 100%; opacity: 1;">
<% } %>
</a> </a>
<hgroup> <hgroup>
<h1 class="header-author"><a href="/" title="回到主页"><%=theme.author%></a></h1> <h1 class="header-author"><a href="/" title="回到主页"><%=theme.author%></a></h1>
Expand Down

0 comments on commit c8b716d

Please sign in to comment.