From 3a5bceadfa46fc27fdab90eb91cc784810aaebf1 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 31 Aug 2023 13:24:19 +0200 Subject: [PATCH] UI - Clicking 'ignore text' when highlighting text should clear the preview text button/area. #1754 --- changedetectionio/static/js/diff-overview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/static/js/diff-overview.js b/changedetectionio/static/js/diff-overview.js index 367c8472..8cbe7dcd 100644 --- a/changedetectionio/static/js/diff-overview.js +++ b/changedetectionio/static/js/diff-overview.js @@ -80,7 +80,7 @@ $(document).ready(function () { } } }).done(function (data) { - $("#highlightSnippet").append(data) + $("#highlightSnippet").html(data) }).fail(function (data) { console.log(data); alert('There was an error communicating with the server.');