diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-02-05 04:39:33 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-02-05 04:39:33 -0500 |
commit | f06e7075eee908684a1fb89993e0fc4eedda4ddc (patch) | |
tree | 6bcf025ef18763758f0da30ba53dbfbbe9255229 /common/content/tabs.js | |
parent | 5d6f8833f53de42c68f5ff5845e9e68a3578f18d (diff) | |
download | pentadactyl-f06e7075eee908684a1fb89993e0fc4eedda4ddc.tar.gz |
Standardize misspellings of the 'class' reserved word.
--HG--
branch : groups
Diffstat (limited to 'common/content/tabs.js')
-rw-r--r-- | common/content/tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/tabs.js b/common/content/tabs.js index 5b129953..13ec4df4 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -43,7 +43,7 @@ var Tabs = Module("tabs", { cleanup: function cleanup() { for (let [i, tab] in Iterator(this.allTabs)) { - let node = function node(clas) document.getAnonymousElementByAttribute(tab, "class", clas); + let node = function node(class_) document.getAnonymousElementByAttribute(tab, "class", class_); for (let elem in values(["dactyl-tab-icon-number", "dactyl-tab-number"].map(node))) if (elem) elem.parentNode.parentNode.removeChild(elem.parentNode); @@ -53,7 +53,7 @@ var Tabs = Module("tabs", { updateTabCount: function () { for (let [i, tab] in Iterator(this.visibleTabs)) { if (dactyl.has("Gecko2")) { - let node = function node(clas) document.getAnonymousElementByAttribute(tab, "class", clas); + let node = function node(class_) document.getAnonymousElementByAttribute(tab, "class", class_); if (!node("dactyl-tab-number")) { let img = node("tab-icon-image"); if (img) { |