From: Andrew Dolgov Date: Wed, 15 Feb 2017 10:22:16 +0000 (+0300) Subject: editFilter: fix selector expressions broken by 88946d3 X-Git-Tag: 17.4~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ad7cea62e19aab1815fa7fb4fd5e9a31fcc1314a;p=tt-rss.git editFilter: fix selector expressions broken by 88946d3 --- 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()) {