web/assets/js/_utils/img-hyperlink.js

9 lines
148 B
JavaScript
Raw Normal View History

/*
* Find out the <a> tag contains an image and mark it.
*/
$(function() {
2021-01-23 10:07:18 +03:00
const MARK = "img-hyperlink";
$("a:has(img)").addClass(MARK);
});