From efa0c787787c5a108a48bce21bd1274ea1dd48b7 Mon Sep 17 00:00:00 2001 From: Jagua Date: Wed, 22 Jun 2011 19:50:49 +0900 Subject: compatible with Fx5.0 (rename class identifier) --- twittperator/twlist-win.tw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'twittperator') 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; } -- cgit v1.2.3