Updated it to make it work in the info menu (on page popup).

This commit is contained in:
Ajay Ramachandran
2019-08-27 21:10:35 -04:00
parent 284efe9902
commit 32dd7d43d7
2 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
localizeHtmlPage();
//make this a function to allow this to run on the content page
function runThePopup() {
localizeHtmlPage();
//is it in the popup or content script
var inPopup = true;