зеркало из https://github.com/mozilla/gecko-dev.git
Bug 972844 - Add a Maybe Later link on about:feedback intro [r=mfinkle]
This commit is contained in:
Родитель
33d673c562
Коммит
a7cf0225eb
|
@ -32,9 +32,9 @@ function init() {
|
|||
|
||||
document.getElementById("open-play-store").addEventListener("click", openPlayStore, false);
|
||||
document.forms[0].addEventListener("submit", sendFeedback, false);
|
||||
document.getElementById("no-thanks").addEventListener("click", function(evt) {
|
||||
window.close();
|
||||
}, false);
|
||||
for (let anchor of document.querySelectorAll(".no-thanks")) {
|
||||
anchor.addEventListener("click", evt => window.close(), false);
|
||||
}
|
||||
|
||||
let sumoLink = Services.urlFormatter.formatURLPref("app.support.baseURL");
|
||||
document.getElementById("sumo-link").href = sumoLink;
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
</div>
|
||||
<div class="bottom-links">
|
||||
<a class="maybe-later">&intro.maybeLater;</a>
|
||||
<a class="no-thanks">&happy.noThanks;</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
@ -50,7 +51,7 @@
|
|||
</div>
|
||||
<div class="bottom-links">
|
||||
<a class="maybe-later">&happy.maybeLater2;</a>
|
||||
<a id="no-thanks">&happy.noThanks;</a>
|
||||
<a class="no-thanks">&happy.noThanks;</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче