MediaWiki:Gadget-ImageAnnotator.js: Difference between revisions
Content deleted Content added
No edit summary |
preventing traversing a page with more than 400 images (last three edits) |
||
Line 1,567:
var all_imgs = bodyContent.getElementsByTagName('img');
// This prevents traversing
// There are extreme cases like [[Emoji]] that high number of images can cause
// huge lag specially on Chrome
if (all_imgs.length > 400) {
//
all_imgs = [];
}
|