Difference between revisions of "Module:Message box"
remove a not where a not should not be
>Mr. Stradivarius (fix bug where the arguments where all getting removed if cfg.allowBlankParams wasn't present) |
>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 |