Skip to content

Commit

Permalink
Merge pull request #55 from cntanglijun/delVerboseCode
Browse files Browse the repository at this point in the history
删除一些多余代码
  • Loading branch information
MOxFIVE committed Mar 10, 2016
2 parents 551feb6 + 3354b95 commit 5fc9709
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion layout/_partial/hide-labels.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<% if (is_archive() || is_tag() || is_category()) { %>
<button class="hide-labels">TAG 开关</button>
</script>
<script>
$(document).ready(function() {
$("button").click(function() {
Expand Down
8 changes: 0 additions & 8 deletions source/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ require([], function (){
//是否开启动画
if(yiliaConfig.animate === true){

require([yiliaConfig.rootUrl + 'js/jquery.lazyload.js'], function(){
//avatar
$(".js-avatar").attr("src", $(".js-avatar").attr("lazy-src"));
$(".js-avatar")[0].onload = function(){
$(".js-avatar").addClass("show");
}
});

if(yiliaConfig.isHome === true) {
// 滚动条监听使用scrollreveal.js
// https://github.com/jlmakes/scrollreveal.js
Expand Down

0 comments on commit 5fc9709

Please sign in to comment.