[Pkg-mozext-commits] [adblock-plus] 10/22: Issue 594 - Typo in preferences window tooltip for the slow filters column
David Prévot
taffit at moszumanska.debian.org
Thu Jun 5 14:01:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 04d726a6ccde8400f654279ee3022d1180697a9b
Author: Wladimir Palant <trev at adblockplus.org>
Date: Mon Jun 2 11:09:21 2014 +0200
Issue 594 - Typo in preferences window tooltip for the slow filters column
---
chrome/content/ui/filters-filterview.js | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/chrome/content/ui/filters-filterview.js b/chrome/content/ui/filters-filterview.js
index cf51539..dcee183 100644
--- a/chrome/content/ui/filters-filterview.js
+++ b/chrome/content/ui/filters-filterview.js
@@ -29,6 +29,22 @@ var FilterView =
*/
init: function()
{
+ // "Manually" remove access key for col-slow tooltip, Utils.splitAllLabels()
+ // won't do it.
+ let slowColumn = document.getElementById("col-slow");
+ if (slowColumn)
+ {
+ for (let attr of ["display", "tooltiptext"])
+ {
+ let value = slowColumn.getAttribute(attr);
+ if (!value)
+ continue;
+ let [label, accessKey] = Utils.splitLabel(value);
+ if (label != value)
+ slowColumn.setAttribute(attr, label);
+ }
+ }
+
if (this.sortProcs)
return;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list