Another small rendering optimization - set dimensions of slimtree images
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Oct 2009 22:10:42 +0000 (22:10 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Oct 2009 22:10:42 +0000 (22:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14481 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/slimtree.js

index 77234b7..e047dd0 100644 (file)
@@ -20,11 +20,11 @@ function _apc(root,node) { root.appendChild(node); }
 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;