mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 17:41:03 +01:00
minor code review
This commit is contained in:
parent
6acb2e561e
commit
eeb48844c2
1 changed files with 1 additions and 4 deletions
|
@ -444,10 +444,7 @@ Matrix.prototype.mustAbort = function() {
|
|||
/******************************************************************************/
|
||||
|
||||
Matrix.prototype.toFilterString = function() {
|
||||
if ( this.r === 0 ) {
|
||||
return '';
|
||||
}
|
||||
if ( this.type === '' ) {
|
||||
if ( this.r === 0 || this.type === '' ) {
|
||||
return '';
|
||||
}
|
||||
var body = this.z + ' ' + this.y + ' ' + this.type;
|
||||
|
|
Loading…
Reference in a new issue