Module:Message box: Difference between revisions

Jump to navigation Jump to search
m>Mr. Stradivarius
fix comment on image divs
m>Mr. Stradivarius
try switching the imageLeft logic around
Line 293: Line 293:


     -- Left image settings.
     -- Left image settings.
    local imageCheckBlank = cfg.imageCheckBlank
     local imageLeft = self.isSmall and args.smallimage or args.image
     local imageLeft = self.isSmall and args.smallimage or args.image
     if imageLeft ~= 'none' and not imageCheckBlank or imageLeft ~= 'none' and imageCheckBlank and image ~= 'blank' then
     if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
        or not cfg.imageCheckBlank and imageLeft ~= 'none'
    then
         self.imageLeft = imageLeft
         self.imageLeft = imageLeft
         if not imageLeft then
         if not imageLeft then