Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgraph/drawio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/js/grapheditor/Format.js')
-rw-r--r--src/main/webapp/js/grapheditor/Format.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/webapp/js/grapheditor/Format.js b/src/main/webapp/js/grapheditor/Format.js
index 34ffe0c1..4d99059e 100644
--- a/src/main/webapp/js/grapheditor/Format.js
+++ b/src/main/webapp/js/grapheditor/Format.js
@@ -128,7 +128,7 @@ Format.prototype.init = function()
*/
Format.prototype.clear = function()
{
- this.container.innerHTML = '';
+ this.container.innerText = '';
// Destroy existing panels
if (this.panels != null)
@@ -970,7 +970,7 @@ BaseFormatPanel.prototype.createColorOption = function(label, getColorFn, setCol
div.style.margin = '3px';
div.style.border = '1px solid black';
div.style.backgroundColor = (tempColor == 'default') ? defaultColorValue : tempColor;
- btn.innerHTML = '';
+ btn.innerText = '';
btn.appendChild(div);
if (color != null && color != mxConstants.NONE && color.length > 1 && typeof color === 'string')
@@ -5497,8 +5497,8 @@ StyleFormatPanel.prototype.addEffects = function(div)
{
ss = ui.getSelectionState();
- left.innerHTML = '';
- right.innerHTML = '';
+ left.innerText = '';
+ right.innerText = '';
current = left;
if (ss.rounded)
@@ -6097,7 +6097,7 @@ DiagramStylePanel.prototype.addView = function(div)
if (index >= 0 && index < pageCount)
{
dots[this.format.currentStylePage].style.background = 'transparent';
- entries.innerHTML = '';
+ entries.innerText = '';
this.format.currentStylePage = index;
addEntries();
}