🚀 fix: albums display

This commit is contained in:
沈宇
2020-03-16 11:24:54 +08:00
parent 68b1022367
commit a9473d4d22
7 changed files with 24 additions and 48 deletions

View File

@@ -1,5 +1,4 @@
(function ($) {
//
// Search
var $searchWrap = $('.search-form-wrap'),
isSearchAnim = false,
@@ -32,7 +31,6 @@
}
});
//
// 移动设备侦测
var isMobile = {
Android: function () {
@@ -55,7 +53,6 @@
}
};
//
// 建议在移动端不初始化,其实 /search.xml 文件还挺大的,
if ($('.local-search').size()) {
$.getScript('/js/search.js', function () {
@@ -63,25 +60,14 @@
});
}
//
// Share
$('.share-outer').click(()=>$('.share-wrap').fadeToggle())
$('.share-outer').click(() => $('.share-wrap').fadeToggle())
//
// fancybox
if ($.fancybox) {
$('[data-fancybox]').fancybox({
protect: true
});
}
//
// lazyload
$("img.lazy").lazyload({
effect: "fadeIn"
});
//
// justifiedGallery
$('#gallery').justifiedGallery({
rowHeight: 200,