web/assets/js/_utils/img-hyperlink.js
2021-01-26 20:24:47 +08:00

8 lines
148 B
JavaScript

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