Skip to content

Commit

Permalink
Avoid dom nav fail w/no nextSibling (fixes itemPaneTest)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Dec 6, 2016
1 parent afcb7ae commit d590227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/bindings/itembox.xml
Expand Up @@ -838,7 +838,7 @@
if (!field) {
var field = this._dynamicFields.getElementsByAttribute('fieldname', 'itemType').item(0);
}
if (field) {
if (field && field.parentNode.nextSibling) {
if ('rows' === field.parentNode.nextSibling.tagName) {
this._beforeRow = field.parentNode.nextSibling.nextSibling;
}
Expand Down

0 comments on commit d590227

Please sign in to comment.