standard jquery

This commit is contained in:
Shish
2020-03-02 17:12:43 +00:00
parent ca462d86f1
commit 5058e1f3fd
13 changed files with 13 additions and 15 deletions

View File

@ -1,4 +1,4 @@
$(document).ready(function() {
document.addEventListener('DOMContentLoaded', () => {
$(".shm-clink").each(function(idx, elm) {
var target_id = $(elm).data("clink-sel");
if(target_id && $(target_id).length > 0) {