Skip to content

Commit

Permalink
this fixes #1204
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 11, 2016
1 parent 06b44c7 commit 19518ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/chromium/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,

"name": "uBlock Origin",
"version": "1.5.5",
"version": "1.5.6",

"default_locale": "en",
"description": "__MSG_extShortDesc__",
Expand Down
2 changes: 1 addition & 1 deletion platform/chromium/vapi-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// https://github.com/gorhill/uBlock/issues/1124
// Looks like `contentType` is on track to be standardized:
// https://dom.spec.whatwg.org/#concept-document-content-type
if ( (document.contentType || '').startsWith('image/') ) {
if ( (document.contentType || '').lastIndexOf('image/', 0) === 0 ) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion platform/opera/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,

"name": "uBlock Origin",
"version": "1.5.5",
"version": "1.5.6",

"default_locale": "en",
"description": "__MSG_extShortDesc__",
Expand Down

0 comments on commit 19518ae

Please sign in to comment.