lib/css_parser/parser.rb in css_parser-1.3.3 vs lib/css_parser/parser.rb in css_parser-1.3.4

- old
+ new

@@ -275,10 +275,10 @@ current_declarations = '' end elsif token =~ /@media/i # found '@media', reset current media_types in_at_media_rule = true - media_types = [] + current_media_queries = [] elsif in_at_media_rule if token =~ /\{/ block_depth = block_depth + 1 in_at_media_rule = false in_media_block = true