Commit 203ccc60 authored by liziwl's avatar liziwl
Browse files

update wx helper script for fix #66

parent 5fcb2cf9
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -66,10 +66,14 @@ function reset_all_anchor() {
    var anchors = document.getElementsByTagName('a');
    for (var i = 0; i < anchors.length; i++) {
        var anchor = anchors[i];
        if (anchor.hasAttribute("data-fancybox")) {
            console.log("skip fancybox a tag: ", anchor.getAttribute('href'));
        } else {
            anchor.onclick = function () {
                override_onclick(event);
            }
        }
    }
}

setInterval(reset_all_anchor, 1000);