Skip to content

Commit

Permalink
Issue #117 - convert BG page to non persistent BG action (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manvel authored Dec 29, 2023
1 parent 1c8cfe6 commit 064a31f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions src/back.html

This file was deleted.

1 change: 0 additions & 1 deletion src/js/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const {addRpcListener, sendRpcMessageResponse} = require("../rpc/host");

/** @global */
globalThis.cba = new CBA();
//TODO: Use message passing to run the functions
globalThis.cba.playButtonClick = playButtonClick;
globalThis.cba.recordButtonClick = recordButtonClick;
globalThis.cba.stopButtonClick = stopButtonClick;
Expand Down
3 changes: 2 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"background": {
"page": "back.html"
"scripts": ["js/back.js"],
"persistent": false
},
"browser_action": {
"default_icon": "logo.png",
Expand Down

0 comments on commit 064a31f

Please sign in to comment.