diff options
author | Gael Pasgrimaud | 2011-06-25 10:15:32 +0200 |
---|---|---|
committer | Gael Pasgrimaud | 2011-06-25 10:15:32 +0200 |
commit | b5269a892b3a7dcb89c9c1913797b3d74ff1c476 (patch) | |
tree | b3e06d958238cd3c8f2cb0922e588c64c40e54a3 /twittperator/twlist-win.tw | |
parent | 95f5752645a1948a3f3d29471fbb7eeb98a4ecaa (diff) | |
parent | d4e2c5327d707808086d3c1f020e884972698b21 (diff) | |
download | vimperator-plugins-b5269a892b3a7dcb89c9c1913797b3d74ff1c476.tar.bz2 |
Merge branch 'master' of git://github.com/vimpr/vimperator-plugins
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; } |