Merge pull request #2237 from sveltejs/gh-2053

only clear out stylesheet after removing a specific animation
pull/2240/head
Rich Harris 7 years ago committed by GitHub
commit 088bb7bcd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ export function delete_rule(node, name) {
)
.join(', ');
if (!--active) clear_rules();
if (name && !--active) clear_rules();
}
export function clear_rules() {

Loading…
Cancel
Save