mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: remove emojify.js
This commit is contained in:
1 parent
84c38cb571
commit
5f527658f8
27 files changed
+57
-138
No files matched your search
+4
-10
@@ -4,18 +4,12 @@ import { slideUp, slideDown } from 'vj/utils/slide';
|
||||
import responsiveCutoff from 'vj/breakpoints.json';
|
||||
|
||||
const footerPage = new AutoloadPage('footerPage', () => {
|
||||
if ($('.footer').length === 0) {
|
||||
return;
|
||||
}
|
||||
$('.footer__category.expandable > h1').click(async (ev) => {
|
||||
if (!isBelow(responsiveCutoff.mobile)) {
|
||||
return;
|
||||
}
|
||||
if (!$('.footer').length) return;
|
||||
$('.footer__category.expandable > h1').on('click', async (ev) => {
|
||||
if (!isBelow(responsiveCutoff.mobile)) return;
|
||||
const $category = $(ev.currentTarget).closest('.footer__category');
|
||||
const $list = $category.find('.footer__category__expander');
|
||||
if ($category.hasClass('animating')) {
|
||||
return;
|
||||
}
|
||||
if ($category.hasClass('animating')) return;
|
||||
$category.addClass('animating');
|
||||
if ($category.hasClass('expanded')) {
|
||||
$category.removeClass('expanded');
|
||||
Reference in new issue
Block a user