"ഘടകം:Clickable button 2" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
(ചെ.) ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു |
update from metawiki |
||
| വരി 84: | വരി 84: | ||
if class == 'ui-button-blue' | if class == 'ui-button-blue' | ||
or class == 'mw-ui-progressive' | or class == 'mw-ui-progressive' | ||
or class == 'mw-ui-constructive' | |||
then | then | ||
data.backgroundColor = '#2962CB' | data.backgroundColor = '#2962CB' | ||
elseif class == 'ui-button-green' | elseif class == 'ui-button-green' then | ||
data.backgroundColor = '#008B6D' | data.backgroundColor = '#008B6D' | ||
elseif class == 'ui-button-red' | elseif class == 'ui-button-red' or class == 'mw-ui-destructive' then | ||
data.backgroundColor = '#A6170F' | data.backgroundColor = '#A6170F' | ||
else | else | ||