Duh
This commit is contained in:
parent
fa97a94494
commit
ca8324ab67
|
@ -44,17 +44,17 @@ function filterStyles(styles, options) {
|
||||||
|
|
||||||
if (enabled != null) {
|
if (enabled != null) {
|
||||||
styles = styles.filter(function(style) {
|
styles = styles.filter(function(style) {
|
||||||
return style.enabled != enabled;
|
return style.enabled == enabled;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (url != null) {
|
if (url != null) {
|
||||||
styles = styles.filter(function(style) {
|
styles = styles.filter(function(style) {
|
||||||
return style.url != url;
|
return style.url == url;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
styles = styles.filter(function(style) {
|
styles = styles.filter(function(style) {
|
||||||
return style.id != id;
|
return style.id == id;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (matchUrl != null) {
|
if (matchUrl != null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user