[open-ils-commits] r14481 - trunk/Open-ILS/web/opac/common/js (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Oct 17 18:10:48 EDT 2009


Author: dbs
Date: 2009-10-17 18:10:42 -0400 (Sat, 17 Oct 2009)
New Revision: 14481

Modified:
   trunk/Open-ILS/web/opac/common/js/slimtree.js
Log:
Another small rendering optimization - set dimensions of slimtree images


Modified: trunk/Open-ILS/web/opac/common/js/slimtree.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/slimtree.js	2009-10-17 21:40:58 UTC (rev 14480)
+++ trunk/Open-ILS/web/opac/common/js/slimtree.js	2009-10-17 22:10:42 UTC (rev 14481)
@@ -20,11 +20,11 @@
 function SlimTree(context, handle, rootimg) { 
 	
 	if(!stimgopen) {
-		stimgopen	= elem('img',{src:stpicopen,border:0});
-		stimgclose	= elem('img',{src:stpicclose,border:0});
-		stimgblank	= elem('img',{src:stpicblank,border:0});
-		stimgline	= elem('img',{src:stpicline,border:0});
-		stimgjoin	= elem('img',{src:stpicjoin,border:0, style:'display:inline;'});
+		stimgopen       = elem('img',{src:stpicopen,border:0, style:'height:13px;width:31px;'});
+		stimgclose      = elem('img',{src:stpicclose,border:0, style:'height:13px;width:31px;'});
+		stimgblank      = elem('img',{src:stpicblank,border:0, style:'height:18px;width:18px;'});
+		stimgline       = elem('img',{src:stpicline,border:0, style:'height:18px;width:18px;'});
+		stimgjoin       = elem('img',{src:stpicjoin,border:0, style:'display:inline;height:18px;width:18px;'});
 	}
 
 	this.context	= context; 



More information about the open-ils-commits mailing list