Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing issue with html editor, not reacting on document change

uggrock50cbef0bc03d
diff --git a/data/ext/editorHTML/extension.js b/data/ext/editorHTML/extension.js
index 8b8e13991..c128065d9 100644
--- a/data/ext/editorHTML/extension.js
+++ b/data/ext/editorHTML/extension.js
@@ -106,9 +106,9 @@ define(function(require, exports, module) {
function checkContentChanged() {
var newContentVersion;
- //try {
+ try {
newContentVersion = document.getElementById("iframeViewer").contentWindow.getContentVersion();
- //} catch(e) { }
+ } catch(e) { }
if(newContentVersion > contentVersion) {
contentVersion = newContentVersion;
TSCORE.FileOpener.setFileChanged(true);