diff options
Diffstat (limited to 'browser/extensions/formautofill/content/manageAddresses.xhtml')
-rw-r--r-- | browser/extensions/formautofill/content/manageAddresses.xhtml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/browser/extensions/formautofill/content/manageAddresses.xhtml b/browser/extensions/formautofill/content/manageAddresses.xhtml index 68e810179e..2c8f0608f7 100644 --- a/browser/extensions/formautofill/content/manageAddresses.xhtml +++ b/browser/extensions/formautofill/content/manageAddresses.xhtml @@ -16,7 +16,6 @@ rel="stylesheet" href="chrome://formautofill/content/manageDialog.css" /> - <script src="chrome://formautofill/content/manageDialog.js"></script> </head> <body> <fieldset> @@ -39,9 +38,12 @@ data-l10n-id="autofill-manage-edit-button" /> </div> - <script> - "use strict"; - /* global ManageAddresses */ + <!-- eslint-disable --> + <!-- For some reason eslint complains here about import only available for sourceType: "module" --> + <!-- even though type is set to module.--> + <script type="module"> + import { ManageAddresses } from "chrome://formautofill/content/manageDialog.mjs"; + new ManageAddresses({ records: document.getElementById("addresses"), controlsContainer: document.getElementById("controls-container"), @@ -50,5 +52,6 @@ edit: document.getElementById("edit"), }); </script> + <!-- eslint-enable --> </body> </html> |