From d7af810f57b3e62b65c6f7583c74413ab3a335fc Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 4 May 2010 18:20:41 +0000 Subject: [PATCH] arg ... even with topic branches, I still do stuff like this git-svn-id: svn://svn.open-ils.org/ILS/trunk@16387 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/BibTemplate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/BibTemplate.js b/Open-ILS/web/js/dojo/openils/BibTemplate.js index e02766302..d25dc5510 100644 --- a/Open-ILS/web/js/dojo/openils/BibTemplate.js +++ b/Open-ILS/web/js/dojo/openils/BibTemplate.js @@ -45,7 +45,7 @@ if(!dojo._hasResource["openils.BibTemplate"]) { subsetNL : function (old_nl, start, end) { var new_nl = new dojo.NodeList(); - for (var i = start; i < end && i < old_nl.length - 1; i++) { + for (var i = start; i < end && i < old_nl.length; i++) { new_nl.push(old_nl[i]); } return new_nl; -- 2.11.0