make buttons i18n friendly and a better experience
parent
35948989b3
commit
ef38bcad9f
|
@ -99,7 +99,7 @@ _.extend(Button.prototype, {
|
||||||
};
|
};
|
||||||
return tag("li", liAttributes,
|
return tag("li", liAttributes,
|
||||||
tag("a", { "class": this.grouping, "data-l10n-id": this.attributes.localizationId },
|
tag("a", { "class": this.grouping, "data-l10n-id": this.attributes.localizationId },
|
||||||
tag("button", { "class": " "+ this.attributes.class, "title": this.attributes.command })
|
tag("button", { "class": " "+ this.attributes.class, "alt": this.attributes.command, "data-l10n-id": this.attributes.localizationId })
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -747,6 +747,7 @@ table#otheruserstable {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: #666;
|
color: #666;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttonicon::-moz-focus-inner {
|
.buttonicon::-moz-focus-inner {
|
||||||
|
|
Loading…
Reference in New Issue