enable filter on change
This commit is contained in:
parent
d6cbc594bc
commit
241fa3e227
1 changed files with 4 additions and 0 deletions
|
@ -121,6 +121,9 @@ Ox.load = function() {
|
|||
});
|
||||
};
|
||||
|
||||
/*@
|
||||
Ox.Log <f> Logging module
|
||||
@*/
|
||||
Ox.Log = (function() {
|
||||
var log = localStorage && localStorage.OxLog
|
||||
? JSON.parse(localStorage.OxLog)
|
||||
|
@ -141,6 +144,7 @@ Ox.Log = (function() {
|
|||
}
|
||||
that.filter = function(val) {
|
||||
if (!Ox.isUndefined(val)) {
|
||||
that.filter.enable();
|
||||
log.filter = Ox.toArray(val);
|
||||
save();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue