1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 document.addEventListener("dialogaccept", onResetProfileAccepted);
9 .getElementById("refreshProfileLearnMore")
10 .addEventListener("click", e => {
12 let retVals = window.arguments[0];
13 retVals.learnMore = true;
17 document.addEventListener("DOMContentLoaded", function() {
19 .getElementById("resetProfileDialog")
21 .classList.add("danger-button");
24 function onResetProfileAccepted() {
25 let retVals = window.arguments[0];