shows minus instead of plus in empty databases

This commit is contained in:
Steve Alberty
2001-06-10 12:54:32 +00:00
parent 0e5f05189e
commit 7ba84db28c
2 changed files with 11 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ function expandBase(el, unexpand)
if (isDOM) {
var whichEl = document.getElementById(el + 'Child');
var whichIm = document.getElementById(el + 'Img');
if (whichEl.style.display == 'none') {
if (whichEl.style.display == 'none' && whichIm) {
whichEl.style.display = 'block';
whichIm.src = imgOpened.src;
}