web/assets/js/_commons/img-link.js
2021-04-17 15:00:21 +08:00

8 lines
134 B
JavaScript

/*
* Find the image links and mark them
*/
$(function() {
const MARK = "img-link";
$("#main a").has("img").addClass(MARK);
});