From 2620818ba76847f20c3ad0021c651951c12f27d4 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 2 Apr 2022 14:55:23 +0200 Subject: [PATCH] Make text tab always available at default --- changedetectionio/__init__.py | 2 +- changedetectionio/templates/diff.html | 4 ++-- changedetectionio/templates/preview.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 353176a6..3c2ee355 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -649,7 +649,7 @@ def changedetection_app(config=None, datastore_o=None): datastore.data['settings']['application']['global_ignore_text'] = form.global_ignore_text.data datastore.data['settings']['application']['ignore_whitespace'] = form.ignore_whitespace.data datastore.data['settings']['application']['real_browser_save_screenshot'] = form.real_browser_save_screenshot.data - + if form.trigger_check.data: if len(form.notification_urls.data): n_object = {'watch_url': "Test from changedetection.io!", diff --git a/changedetectionio/templates/diff.html b/changedetectionio/templates/diff.html index c5227e54..28eda7a9 100644 --- a/changedetectionio/templates/diff.html +++ b/changedetectionio/templates/diff.html @@ -35,15 +35,15 @@ Jump -{% if screenshot %}
-{% endif %}
diff --git a/changedetectionio/templates/preview.html b/changedetectionio/templates/preview.html index f846b810..e1960a8c 100644 --- a/changedetectionio/templates/preview.html +++ b/changedetectionio/templates/preview.html @@ -6,15 +6,15 @@

Current - {{watch.last_checked|format_timestamp_timeago}}

-{% if screenshot %}
-{% endif %}