diff --git a/locale/translations/en_US.json b/locale/translations/en_US.json index 635489de..2b7212bc 100644 --- a/locale/translations/en_US.json +++ b/locale/translations/en_US.json @@ -308,7 +308,7 @@ "form.prefs.select.alphabetical": "Alphabetical", "form.prefs.select.unread_count": "Unread count", "form.prefs.label.keyboard_shortcuts": "Enable keyboard shortcuts", - "form.prefs.label.entry_swipe": "Enable swipe gesture on entries on mobile", + "form.prefs.label.entry_swipe": "Enable swipe and double-tap gestures on entries on mobile", "form.prefs.label.show_reading_time": "Show estimated reading time for entries", "form.prefs.label.custom_css": "Custom CSS", "form.prefs.label.entry_order": "Entry sorting column", diff --git a/template/templates/views/entry.html b/template/templates/views/entry.html index da407f05..e3930c49 100644 --- a/template/templates/views/entry.html +++ b/template/templates/views/entry.html @@ -143,7 +143,7 @@ {{ end }} {{ end }} -
+
{{ if .user }} {{ noescape (proxyFilter .entry.Content) }} {{ else }} diff --git a/ui/static/js/touch_handler.js b/ui/static/js/touch_handler.js index 82374e00..d850f19e 100644 --- a/ui/static/js/touch_handler.js +++ b/ui/static/js/touch_handler.js @@ -104,7 +104,7 @@ class TouchHandler { }); let entryContentElement = document.querySelector(".entry-content"); - if (entryContentElement) { + if (entryContentElement && entryContentElement.classList.contains('double-tap')) { let doubleTapTimers = { previous: null, next: null