From 44eda8521e46658e109dc9a79102245934d1f20c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 4 Feb 2018 12:50:21 +0300 Subject: [PATCH] filter delete action/rule: fix selector syntax --- js/functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/functions.js b/js/functions.js index 4c5d67f6..9ae205cb 100755 --- a/js/functions.js +++ b/js/functions.js @@ -981,10 +981,10 @@ function quickAddFilter() { addAction: function() { addFilterAction(); }, addRule: function() { addFilterRule(); }, deleteAction: function() { - $$("#filterDlg_Actions li.[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) }); + $$("#filterDlg_Actions li[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) }); }, deleteRule: function() { - $$("#filterDlg_Matches li.[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) }); + $$("#filterDlg_Matches li[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) }); }, execute: function() { if (this.validate()) { -- 2.39.5