make buttons i18n friendly and a better experience

pull/2566/head
John McLear 2015-03-31 13:57:18 +01:00
parent 35948989b3
commit ef38bcad9f
2 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,7 @@ _.extend(Button.prototype, {
};
return tag("li", liAttributes,
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 })
)
);
}

View File

@ -747,6 +747,7 @@ table#otheruserstable {
font-style: normal;
font-weight: normal;
color: #666;
cursor: pointer;
}
.buttonicon::-moz-focus-inner {