MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Replaced content with "$(document).ready(function(){ $(".nojslazy").hide(); $('img.lazy-img').each(function() { if (!$(this).parents(".mw-collapsible-content").length && $(this).attr('data-s...") |
||
Line 1: | Line 1: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$(".nojslazy").hide(); | $(".nojslazy").hide(); | ||
$('img.lazy-img').each(function() { | $('img.lazy-img').each(function() { |
Latest revision as of 12:45, 13 February 2014
$(document).ready(function(){ $(".nojslazy").hide(); $('img.lazy-img').each(function() { if (!$(this).parents(".mw-collapsible-content").length && $(this).attr('data-src')!='') { $(this).attr('src', $(this).attr('data-src')); $(this).attr('data-src', ''); } }); });