Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Message should be encoded.

  • Loading branch information...
commit 146ba89c7169f423349cd4306558cd470f2ecfc3 1 parent 771ed15
@Dither Dither authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/noads-background.js
View
2  scripts/noads-background.js
@@ -33,7 +33,7 @@ window.addEventListener('load', function () {
var atab = opera.extension.tabs.getFocused();
if (v12) {
button.disabled = true;
- if (!!atab.port) atab.port.postMessage({ type: 'ask_status' });
+ if (!!atab.port) atab.port.postMessage(encodeMessage({ type: 'ask_status' }));
} else {
button.disabled = !!atab;
}
Please sign in to comment.
Something went wrong with that request. Please try again.