Module:Message box: Difference between revisions

fix comment on image divs
(make invalid type errors depend on cfg.showInvalidTypeError)
(fix comment on image divs)
Line 435:
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image is inside it.
-- NotDivs sureuse whystyle="width: only52px;", somewhich boxlimits typesthe useimage divs,width butto it52px. probably has something toIf doany
-- withimages thatin style="width:a 52px;".div @TODO:are findwider outthan exactlythat, whatthey thismay doesoverlap with andthe fixtext thisor comment.cause
-- other display problems.
imageLeftCell = imageLeftCell.tag('div').css('width', '52px')
end