From: Andrew Dolgov Date: Sun, 4 Feb 2018 09:50:21 +0000 (+0300) Subject: filter delete action/rule: fix selector syntax X-Git-Tag: 18.8~74 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=44eda8521e46658e109dc9a79102245934d1f20c;p=tt-rss.git filter delete action/rule: fix selector syntax --- 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()) {