diff --git a/tabeleditor.inc.php b/tabeleditor.inc.php index 5aecccc..6294cb6 100644 --- a/tabeleditor.inc.php +++ b/tabeleditor.inc.php @@ -101,7 +101,7 @@ var entry_name = "__buttons_"+cellid; var entry = document.getElementById(entry_name); - elm.style.cssText = backuped_style; + elm.style.CssText = backuped_style; if (elm.initial_value != value) { elm.style.color= "red"; document.getElementById("__buttons").style.visibility = "visible"; @@ -172,7 +172,7 @@ var container = document.querySelector('.style_td'); var style = window.getComputedStyle(container); - backuped_style = elm.style.cssText; + backuped_style = elm.style.CssText; elm.value = value; elm.style.width = (e.target.clientWidth-5) + "px";