This commit is contained in:
peterv%netscape.com 2001-10-22 11:39:02 +00:00
Родитель ec608cec13
Коммит 4a0f18a76b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -134,9 +134,9 @@ function FillInTooltip ( tipElement )
{
var retVal = false;
var textNode = document.getElementById("TOOLTIP-tooltipText");
while (textNode.hasChildNodes())
textNode.removeChild(textNode.firstChild);
if (textNode) {
while (textNode.hasChildNodes())
textNode.removeChild(textNode.firstChild);
var tipText = tipElement.getAttribute("tooltiptext");
if (tipText) {
var node = document.createTextNode(tipText);