Bureaucrats, coding, Administrators
2,634
edits
mNo edit summary |
mNo edit summary |
||
Line 162: | Line 162: | ||
infoboxes: ['.infobox', '.testchamber'], // Selectors of infobox-style boxes that should be deducted from the page's available width | infoboxes: ['.infobox', '.testchamber'], // Selectors of infobox-style boxes that should be deducted from the page's available width | ||
ratioR: /ratio-(\d+)x(\d+)/i, | ratioR: /ratio-(\d+)x(\d+)/i, | ||
widthsR: /widths((?: | widthsR: /widths((?:\D+\d+)+)/i, | ||
setSize:function() { | setSize:function() { | ||
var widths = youtubeHelper.widthsR.exec($(this).attr('class')); | var widths = youtubeHelper.widthsR.exec($(this).attr('class')); |