commit 3aaf9e341c6595adb0b9e2060fc2d118ce5420e8 parent 91d14fc04cc4c17e3087364d7564715f7103598d Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 3 Feb 2015 15:34:21 -0500 Fix NO_INTERFACE error after entering tag in tags box Diffstat:
| M | chrome/content/zotero/bindings/tagsbox.xml | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml @@ -1027,9 +1027,7 @@ <parameter name="elem"/> <body> <![CDATA[ - var scrollbox = document.getAnonymousNodes(this)[0]; - var sbo = scrollbox.boxObject; - sbo.QueryInterface(Components.interfaces.nsIScrollBoxObject); + var sbo = document.getAnonymousNodes(this)[0].boxObject; sbo.ensureElementIsVisible(elem); ]]> </body>