From ef38bcad9ff6e929ad0aa87b260ca73154270774 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 31 Mar 2015 13:57:18 +0100 Subject: [PATCH] make buttons i18n friendly and a better experience --- src/node/utils/toolbar.js | 2 +- src/static/css/pad.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/utils/toolbar.js b/src/node/utils/toolbar.js index 8905eee1d..5d735323d 100644 --- a/src/node/utils/toolbar.js +++ b/src/node/utils/toolbar.js @@ -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 }) ) ); } diff --git a/src/static/css/pad.css b/src/static/css/pad.css index 5b5d7dec0..ee0a0a96b 100644 --- a/src/static/css/pad.css +++ b/src/static/css/pad.css @@ -747,6 +747,7 @@ table#otheruserstable { font-style: normal; font-weight: normal; color: #666; + cursor: pointer; } .buttonicon::-moz-focus-inner {