diff options
Diffstat (limited to 'src/main/webapp/js/diagramly/GraphViewer.js')
-rw-r--r-- | src/main/webapp/js/diagramly/GraphViewer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/webapp/js/diagramly/GraphViewer.js b/src/main/webapp/js/diagramly/GraphViewer.js index 1032a87b..501dd8c4 100644 --- a/src/main/webapp/js/diagramly/GraphViewer.js +++ b/src/main/webapp/js/diagramly/GraphViewer.js @@ -1362,7 +1362,7 @@ GraphViewer.prototype.addToolbar = function() var update = mxUtils.bind(this, function() { - pageInfo.innerHTML = ''; + pageInfo.innerText = ''; mxUtils.write(pageInfo, (this.currentPage + 1) + ' / ' + this.diagrams.length); pageInfo.style.display = (this.diagrams.length > 1) ? 'inline-block' : 'none'; prevButton.style.display = pageInfo.style.display; @@ -2062,7 +2062,7 @@ GraphViewer.prototype.updateTitle = function(title) if (this.filename != null) { - this.filename.innerHTML = ''; + this.filename.innerText = ''; mxUtils.write(this.filename, title); this.filename.setAttribute('title', title); } @@ -2077,7 +2077,7 @@ GraphViewer.processElements = function(classname) { try { - div.innerHTML = ''; + div.innerText = ''; GraphViewer.createViewerForElement(div); } catch (e) |