From ad7cea62e19aab1815fa7fb4fd5e9a31fcc1314a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 15 Feb 2017 13:22:16 +0300 Subject: [PATCH] editFilter: fix selector expressions broken by 88946d3 --- js/prefs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/prefs.js b/js/prefs.js index 23d43f36..83444b7d 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -205,10 +205,10 @@ function editFilter(id) { 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