Fixed JS warning in table dialog, b=120264, r=caillon, sr=kin

This commit is contained in:
cmanske%netscape.com 2002-01-24 21:55:20 +00:00
Родитель 32410728ad
Коммит 6240221fb1
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -101,9 +101,10 @@ function Startup()
gDialog.TableWidthUnits = document.getElementById("TableWidthUnits");
gDialog.TableHeightInput = document.getElementById("TableHeightInput");
gDialog.TableHeightUnits = document.getElementById("TableHeightUnits");
if (!gPrefs.getBoolPref("editor.use_css") || (editorShell.editorType != "html")) {
if (!gPrefs.getBoolPref("editor.use_css") || (editorShell.editorType != "html"))
{
gUseCSS = false;
tableHeightLabel = document.getElementById("TableHeightLabel");
var tableHeightLabel = document.getElementById("TableHeightLabel");
tableHeightLabel.parentNode.removeChild(tableHeightLabel);
gDialog.TableHeightInput.parentNode.removeChild(gDialog.TableHeightInput);
gDialog.TableHeightUnits.parentNode.removeChild(gDialog.TableHeightUnits);