Formatting fix
This commit is contained in:
parent
a6bd33fdf8
commit
a00851a8b2
|
@ -678,7 +678,7 @@
|
||||||
<small>
|
<small>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
data-link="/comments/subscription?table_name=friend.photos&table_id={{.AboutUser.Username}}&next={{UrlEncode $Root.Request.URL.String}}&subscribe=false"
|
data-link="/comments/subscription?table_name=friend.photos&table_id={{.AboutUser.Username}}&next={{UrlEncode $Root.Request.URL.String}}&subscribe=false"
|
||||||
data-confirm="Do you want to TURN OFF notifications about @{{.AboutUser.Username}}\'s new photo uploads?\n\nNote: to re-subscribe to their new photo notifications, see the link at the top of @{{.AboutUser.Username}}\'s Photo Gallery page."
|
data-confirm="Do you want to TURN OFF notifications about @{{.AboutUser.Username}}'s new photo uploads?\n\nNote: to re-subscribe to their new photo notifications, see the link at the top of @{{.AboutUser.Username}}'s Photo Gallery page."
|
||||||
class="has-text-warning is-small nonshy-mute-notification-link"
|
class="has-text-warning is-small nonshy-mute-notification-link"
|
||||||
title="Turn off notifications about @{{.AboutUser.Username}}'s new photo uploads">
|
title="Turn off notifications about @{{.AboutUser.Username}}'s new photo uploads">
|
||||||
<i class="fa fa-microphone-slash mr-1"></i> Mute these notifications
|
<i class="fa fa-microphone-slash mr-1"></i> Mute these notifications
|
||||||
|
@ -874,7 +874,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
||||||
const link = node.dataset.link,
|
const link = node.dataset.link,
|
||||||
prompt = node.dataset.confirm;
|
prompt = node.dataset.confirm.replace(/\\n/g, "\n");
|
||||||
if (!window.confirm(prompt)) return;
|
if (!window.confirm(prompt)) return;
|
||||||
|
|
||||||
window.location = link;
|
window.location = link;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user