krata/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 08:07:18 +01:00
const MARK = "img-hyperlink";
$("a:has(img)").addClass(MARK);
});