Skip to content

Commit

Permalink
move files into scripts and popup
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jul 2, 2023
1 parent c50d42d commit 00511cd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Modifications for TB78, TB91, TB102, TB115 by John Bieling (2020-2023)
*/

import * as ees from "/content/editemailsubject.mjs";
import * as ees from "/content/scripts/editemailsubject.mjs";

// Define default prefs and migrate legacy settings.
let defaultPrefs = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>__EESMSG_extensionDescription__</title>
<meta name="color-scheme" content="light dark">
<script src="/content/scripts/locales.js"></script>
<script src="/content/editemailsubjectPopup.js"></script>
<script src="editemailsubjectPopup.js"></script>
</head>

<body id="body" style="font-size:small;display:none">
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function edit({ selectedMessage, tab, keepBackup }) {
? full.headers["x-editemailsubject-originalsubject"]
: null

let popupUrl = new URL(messenger.runtime.getURL("/content/editemailsubjectPopup.html"));
let popupUrl = new URL(messenger.runtime.getURL("/content/popup/editemailsubjectPopup.html"));
popupUrl.searchParams.append("tabId", tab.id);
popupUrl.searchParams.append("msgId", selectedMessage.id);
popupUrl.searchParams.append("currentSubject", currentSubject);
Expand Down

0 comments on commit 00511cd

Please sign in to comment.