pull/1155/head
gedoor 3 years ago
parent 5d3655ed1d
commit 6ba9cf84e3
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -412,7 +412,7 @@ class AnalyzeRule(val ruleData: RuleDataInterface) : JsExtensions {
init { init {
rule = when { rule = when {
mode == Mode.Js -> ruleStr mode == Mode.Js || mode == Mode.Regex -> ruleStr
ruleStr.startsWith("@CSS:", true) -> { ruleStr.startsWith("@CSS:", true) -> {
mode = Mode.Default mode = Mode.Default
ruleStr ruleStr

Loading…
Cancel
Save