Adjust failing item tree tests for #3460
This commit is contained in:
parent
011dabd372
commit
fe752fd937
1 changed files with 3 additions and 3 deletions
|
@ -438,7 +438,7 @@ describe("Zotero.ItemTree", function() {
|
|||
itemsView = zp.itemsView;
|
||||
|
||||
var treebox = itemsView._treebox;
|
||||
var numVisibleRows = treebox.getPageLength();
|
||||
var numVisibleRows = treebox.getLastVisibleRow() - treebox.getFirstVisibleRow();
|
||||
|
||||
// Get a numeric string left-padded with zeroes
|
||||
function getTitle(i, max) {
|
||||
|
@ -489,7 +489,7 @@ describe("Zotero.ItemTree", function() {
|
|||
itemsView = zp.itemsView;
|
||||
|
||||
var treebox = itemsView._treebox;
|
||||
var numVisibleRows = treebox.getPageLength();
|
||||
var numVisibleRows = treebox.getLastVisibleRow() - treebox.getFirstVisibleRow();
|
||||
|
||||
// Get a numeric string left-padded with zeroes
|
||||
function getTitle(i, max) {
|
||||
|
@ -545,7 +545,7 @@ describe("Zotero.ItemTree", function() {
|
|||
itemsView = zp.itemsView;
|
||||
|
||||
var treebox = itemsView._treebox;
|
||||
var numVisibleRows = treebox.getPageLength();
|
||||
var numVisibleRows = treebox.getLastVisibleRow() - treebox.getFirstVisibleRow();
|
||||
|
||||
// Get a numeric string left-padded with zeroes
|
||||
function getTitle(i, max) {
|
||||
|
|
Loading…
Reference in a new issue