This commit is contained in:
Jason 2016-03-19 17:15:33 -05:00
parent fa97a94494
commit ca8324ab67

View File

@ -44,17 +44,17 @@ function filterStyles(styles, options) {
if (enabled != null) {
styles = styles.filter(function(style) {
return style.enabled != enabled;
return style.enabled == enabled;
});
}
if (url != null) {
styles = styles.filter(function(style) {
return style.url != url;
return style.url == url;
});
}
if (id != null) {
styles = styles.filter(function(style) {
return style.id != id;
return style.id == id;
});
}
if (matchUrl != null) {