1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-28 10:32:46 +00:00

Globally mark out image links

This commit is contained in:
Cotes Chung
2021-04-16 13:04:48 +08:00
parent 3f2d400f16
commit 4ed6988be3
8 changed files with 14 additions and 15 deletions

View File

@@ -1,8 +0,0 @@
/*
* Find out the <a> tag contains an image and mark it.
*/
$(function() {
const MARK = "img-hyperlink";
$("a:has(img)").addClass(MARK);
});