[Tynstep-svn] r214 - trunk/step/step-web/src/main/webapp/js

ChrisBurrell at crosswire.org ChrisBurrell at crosswire.org
Sun Feb 27 15:32:20 MST 2011


Author: ChrisBurrell
Date: 2011-02-27 15:32:19 -0700 (Sun, 27 Feb 2011)
New Revision: 214

Modified:
   trunk/step/step-web/src/main/webapp/js/interlinear_popup.js
Log:
fix to table layout

Modified: trunk/step/step-web/src/main/webapp/js/interlinear_popup.js
===================================================================
--- trunk/step/step-web/src/main/webapp/js/interlinear_popup.js	2011-02-27 21:55:01 UTC (rev 213)
+++ trunk/step/step-web/src/main/webapp/js/interlinear_popup.js	2011-02-27 22:32:19 UTC (rev 214)
@@ -43,7 +43,7 @@
 		var shortName = longName.length > 20 ? shortenName(longName, 20) : longName;
 		
 		//created a checkbox for this, that adds the text if checked to the input
-		if(row % 2 == 0) {
+		if((row % 2) == 0) {
 			allCheckBoxes += "<tr>";
 		}
 		
@@ -52,7 +52,7 @@
 						  "<label for='il_" + ii + "' title='" + longName + "'>" + shortName + "</label>";
 		allCheckBoxes += "</td>";
 	
-		if(row % 2 == 0) {
+		if((row % 2) == 1) {
 			allCheckBoxes += "</tr>";
 		}
 		




More information about the Tynstep-svn mailing list