User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 117:
$("#bodyContent img").attr("rel", "shadowbox[All images]").each(function() {
var self = $(this), url = (function() {
return $("#bodyContent img", $.get(self.attr("href")).responseXML).get(0).getAttribute("src");
})();
self.attr("href", url);