"ماڈیول:Message box" کے نسخوں کے درمیان فرق
make invalid type errors depend on cfg.showInvalidTypeError |
fix comment on image divs |
||
سطر 435: | سطر 435: | ||
if self.imageCellDiv then | if self.imageCellDiv then | ||
-- If we are using a div, redefine imageLeftCell so that the image is inside it. | -- If we are using a div, redefine imageLeftCell so that the image is inside it. | ||
-- | -- Divs use style="width: 52px;", which limits the image width to 52px. If any | ||
-- images in a div are wider than that, they may overlap with the text or cause | |||
-- other display problems. | |||
imageLeftCell = imageLeftCell.tag('div').css('width', '52px') | imageLeftCell = imageLeftCell.tag('div').css('width', '52px') | ||
end | end |