Board Thread:Script Suggestions/@comment-29457887-20160517230950

This script is used to load double resolution images on the page, similar to Wikipedia.

I tried to use this code: $(".image").each(function{       $(this).attr('href',$(this).attr('href').split('/revision')[0]);        $(this).children("img").attr('src',$(this).children("img").attr('src').split('/revision')[0]); });

But it will only convert about 3 images on a page. Do I need to loop it? 