зеркало из https://github.com/mozilla/gecko-dev.git
Fixed JS warning in table dialog, b=120264, r=caillon, sr=kin
This commit is contained in:
Родитель
32410728ad
Коммит
6240221fb1
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче