]> git.wh0rd.org Git - tt-rss.git/commitdiff
filter delete action/rule: fix selector syntax
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 4 Feb 2018 09:50:21 +0000 (12:50 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 4 Feb 2018 09:50:21 +0000 (12:50 +0300)
js/functions.js

index 4c5d67f6c646a7cc1423dd8ababa5d8095a0b9c0..9ae205cb3d7a770084326ac24e775fef22d8afb2 100755 (executable)
@@ -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()) {