Skip to content

Commit

Permalink
Merge pull request #195 from AdguardTeam/feature/issues/192
Browse files Browse the repository at this point in the history
#192 fix
  • Loading branch information
Mizzick committed Mar 11, 2016
2 parents 75b3f65 + 92c5e3d commit 914e4b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Extension/browser/firefox/lib/contentScripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ ContentScripts.prototype = {
this.registerChromeContentScript('thankyou.html', [
'libs/jquery-1.8.3.min.js',
'content-script/content-script.js',
'content-script/content-utils.js',
'content-script/i18n-helper.js',
'pages/i18n.js',
'pages/script.js',
Expand All @@ -53,6 +54,7 @@ ContentScripts.prototype = {
'libs/jquery.jscrollpane.min.js',
'libs/moment-with-locales.min.js',
'content-script/content-script.js',
'content-script/content-utils.js',
'content-script/i18n-helper.js',
'pages/i18n.js',
'pages/script.js',
Expand All @@ -65,6 +67,7 @@ ContentScripts.prototype = {
'libs/bootstrap.min.js',
'libs/moment-with-locales.min.js',
'content-script/content-script.js',
'content-script/content-utils.js',
'content-script/i18n-helper.js',
'pages/i18n.js',
'pages/script.js',
Expand Down
2 changes: 1 addition & 1 deletion Extension/browser/firefox/lib/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ var UI = exports.UI = {
// self.data.url('content/content-script/content-utils.js')]
//});
//contentScripts.sendMessageToWorker(worker, {type: 'show-alert-popup', title: title, text: text});
contentScripts.sendMessageToTab(tabs.activeTab, {type: 'show-alert-popup', title: title, text: text});
contentScripts.sendMessageToTab(this._getActiveTab(), {type: 'show-alert-popup', title: title, text: text});
},

_initAbusePanel: function (SdkPanel) {
Expand Down

0 comments on commit 914e4b9

Please sign in to comment.