From 3fa285e34b61f85afd809808e6c0e9c318fcc5eb Mon Sep 17 00:00:00 2001 From: dbs Date: Sat, 17 Oct 2009 22:10:42 +0000 Subject: [PATCH] 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 --- Open-ILS/web/opac/common/js/slimtree.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.11.0