Module:Protection banner: Difference between revisions
fix variable name
(use the config to set the padlock "right" propery, and remove the Padlock:setRight method) |
(fix variable name) |
||
Line 793: | Line 793: | ||
self._imageAlt = blurbObj:makeAltText() | self._imageAlt = blurbObj:makeAltText() | ||
self._imageLink = blurbObj:makeLinkText() | self._imageLink = blurbObj:makeLinkText() | ||
self._right = cfg.padlockPositions[action] | self._right = cfg.padlockPositions[protectionObj.action] | ||
or cfg.padlockPositions.default | or cfg.padlockPositions.default | ||
or '55px' | or '55px' |