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...") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(document).ready(function(){ | |||
$(".nojslazy").hide(); | |||
( function( | |||
$ | |||
$('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('src', $(this).attr('data-src')); | ||
$(this).attr('data-src', ''); | $(this).attr('data-src', ''); | ||
Line 126: | Line 9: | ||
}); | }); | ||
}); | }); |
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', ''); } }); });