Jony/assets/js/joe.archive.js

19 lines
568 B
JavaScript
Raw Normal View History

2021-01-27 09:10:23 +00:00
/* 搜索页面需要用到的JS */
2021-01-25 10:36:43 +00:00
console.time('Archive.js执行时长');
document.addEventListener('DOMContentLoaded', () => {
/* 激活列表特效 */
{
const wow = $('.joe_archive__list').attr('data-wow');
2021-01-27 05:00:55 +00:00
if (wow !== 'off' && wow)
new WOW({
boxClass: 'wow',
animateClass: `animated ${wow}`,
offset: 0,
mobile: true,
live: true,
scrollContainer: null
}).init();
2021-01-25 10:36:43 +00:00
}
console.timeEnd('Archive.js执行时长');
});