mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
minor code review
This commit is contained in:
parent
2f786ae921
commit
53aa705453
@ -230,10 +230,10 @@ var filterDecompiler = (function() {
|
||||
filter += '/' + tfield0 + '/';
|
||||
break;
|
||||
// https://github.com/gorhill/uBlock/issues/465
|
||||
// Return at least *something*
|
||||
// Unexpected: return the raw compiled representation instead of a
|
||||
// blank string.
|
||||
default:
|
||||
filter = compiled.replace(/\s+/g, ' ');
|
||||
break;
|
||||
return compiled.replace(/\s+/g, ' ');
|
||||
}
|
||||
|
||||
// Domain option?
|
||||
|
Loading…
Reference in New Issue
Block a user