From: dbs Date: Sat, 17 Oct 2009 22:10:42 +0000 (+0000) Subject: Another small rendering optimization - set dimensions of slimtree images X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3fa285e34b61f85afd809808e6c0e9c318fcc5eb;p=evergreen%2Fmasslnc.git Another small rendering optimization - set dimensions of slimtree images git-svn-id: svn://svn.open-ils.org/ILS/trunk@14481 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/common/js/slimtree.js b/Open-ILS/web/opac/common/js/slimtree.js index 77234b73da..e047dd018a 100644 --- a/Open-ILS/web/opac/common/js/slimtree.js +++ b/Open-ILS/web/opac/common/js/slimtree.js @@ -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;