MediaWiki:Common.js: Difference between revisions

TBS size enforcing pt1.
(Undo revision 476251 by KrytenKoro (talk))
(TBS size enforcing pt1.)
Line 10: Line 10:
     }
     }
)
)
/* Shrinking talk bubble sprites */
$(document).ready(function() {
  if (document.readyState != "complete") {
    setTimeout(arguments.callee,100);
    return;
  }
  $("table.talkbubble").each(function() {
    $(this).find("td").first().find("img").each(function() {
      if ($(this).width() > 90)
        $(this).width(90);
    });
  });
});


// ============================================================
// ============================================================
3,295

edits