Module:Message box: Difference between revisions
remove a not where a not should not be
m>Mr. Stradivarius (fix bug where the arguments where all getting removed if cfg.allowBlankParams wasn't present) |
m>Mr. Stradivarius (remove a not where a not should not be) |
||
Line 477: | Line 477: | ||
if self.imageRight then | if self.imageRight then | ||
local imageRightCell = row.tag('td').addClass('mbox-imageright') | local imageRightCell = row.tag('td').addClass('mbox-imageright') | ||
if | if self.imageCellDiv then | ||
imageRightCell = imageRightCell.tag('div').css('width', '52px') -- If we are using a div, redefine imageRightCell so that the image is inside it. | imageRightCell = imageRightCell.tag('div').css('width', '52px') -- If we are using a div, redefine imageRightCell so that the image is inside it. | ||
end | end |