]> git.wh0rd.org Git - tt-rss.git/commitdiff
editFilter: fix selector expressions broken by 88946d3
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 15 Feb 2017 10:22:16 +0000 (13:22 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 15 Feb 2017 10:22:16 +0000 (13:22 +0300)
js/prefs.js

index 23d43f366d6433ccaab7f7e5131d400411f5a2d4..83444b7d068955e15ce5f168bbb2e83451d23017 100755 (executable)
@@ -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()) {