From: dbs Date: Sat, 17 Oct 2009 22:11:37 +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=18b45b02c4afb072023f305c318baaa09ca6fcbd;p=working%2FEvergreen.git Another small rendering optimization - set dimensions of slimtree images git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@14482 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;