mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review: fixed double semi-column
This commit is contained in:
parent
554129648d
commit
f3475aedc2
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ var toUrlKey = function(url) {
|
|||
var extractMimeType = function(ctin) {
|
||||
var pos = ctin.indexOf(';');
|
||||
var type = pos === -1 ? ctin.trim() : ctin.slice(0, pos).trim();
|
||||
var charset = pos === -1 ? '' : ctin.slice(pos).trim();
|
||||
var charset = pos === -1 ? '' : ctin.slice(pos + 1).trim();
|
||||
if ( charset !== '' ) {
|
||||
return type + ';' + charset;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue