Skip to content

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

Handle error message in readability mode

kristiyandd7f8b9292e1fc
diff --git a/data/js/ext.api.js b/data/js/ext.api.js
index 825094c4c..48f91965b 100644
--- a/data/js/ext.api.js
+++ b/data/js/ext.api.js
@@ -10,6 +10,9 @@ define(function(require, exports, module) {
var command = data.command;
switch (command) {
+ case "readabilityError":
+ TSCORE.showAlertDialog("This HTML content can't be loaded.");
+ break;
case "saveDocument":
TSCORE.FileOpener.saveFile();
break;