From 30f2d0b4acb3fa5f71ed744bbeb1feca2aab152c Mon Sep 17 00:00:00 2001 From: Thomas Young <35073576+DrakeRichards@users.noreply.github.com> Date: Tue, 25 Apr 2023 13:26:00 -0500 Subject: [PATCH] Refined regexp to not check the path --- javascript/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/notification.js b/javascript/notification.js index 97dc468c3..e649e4ad8 100644 --- a/javascript/notification.js +++ b/javascript/notification.js @@ -4,7 +4,7 @@ let lastHeadImg = null; let notificationButton = null; -const regExpTempImage = /.*tmp.*.png/g; +const regExpTempImage = /\/tmp.*\.png$/g; onUiUpdate(function(){ if(notificationButton == null){