diff options
author | Jagua | 2011-06-22 19:50:49 +0900 |
---|---|---|
committer | Jagua | 2011-06-22 19:50:49 +0900 |
commit | efa0c787787c5a108a48bce21bd1274ea1dd48b7 (patch) | |
tree | 3f1b2284841a08a1ec16e92f3f6fbe19bbb34da3 /twittperator/twlist-win.tw | |
parent | 04462e4bee76682f39f70748e1f0a1909d57e97b (diff) | |
download | vimperator-plugins-efa0c787787c5a108a48bce21bd1274ea1dd48b7.tar.bz2 |
compatible with Fx5.0 (rename class identifier)
Diffstat (limited to 'twittperator/twlist-win.tw')
-rw-r--r-- | twittperator/twlist-win.tw | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/twittperator/twlist-win.tw b/twittperator/twlist-win.tw index 674f4f3..939e472 100644 --- a/twittperator/twlist-win.tw +++ b/twittperator/twlist-win.tw @@ -193,10 +193,10 @@ let winXML = <> function getCurrentListBox(){ return tabBox.tabpanels.selectedPanel.firstChild; } - function getParent(node, class){ + function getParent(node, klass){ let elm = node; while (elm != document.documentElement){ - if (elm instanceof class) + if (elm instanceof klass) return elm; elm = elm.parentNode; } |