Difference between revisions of "MediaWiki:Common.js"

From Inkscape Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
$(function () {
$(function () {
$.each($('img')), function( i, l ){
$.each($('img')), function( i, l ){
print(l);
if (l.src.slice(-4) == ".gif") {
if (l.src.slice(-4) == ".gif") {
print(l.src);
print(l.src);

Revision as of 00:11, 7 September 2020

/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
	$.each($('img')), function( i, l ){
	print(l);
	if (l.src.slice(-4)	== ".gif") {
		print(l.src);
	}
}
});