mirror of
https://notabug.org/halcyon-suite/halcyon
synced 2024-12-23 00:10:37 +01:00
Fixed a small bug in the template file
Oh no,the last update had a small mistake which broke the notifications page! That's the hotfiix for it,the original 1.2.4 release will be deleted and recreated including this commit.
This commit is contained in:
parent
46bb4e1dfd
commit
66f494c7c1
@ -593,13 +593,13 @@ toot_footer_width = "";
|
||||
toot_reblog_button = "";
|
||||
}
|
||||
var own_toot_buttons = "";
|
||||
if(status.account.acct == current_acct) {
|
||||
var own_toot_buttons = (`<li><a class="delete_button" tid="${status.id}">Delete Toot</a></li>`);
|
||||
if(status.pinned == true) {
|
||||
own_toot_buttons += (`<li><a class="unpin_button" tid="${status.id}">Unpin Toot</a></li>`);
|
||||
if(NotificationsObj.status.account.acct == current_acct) {
|
||||
var own_toot_buttons = (`<li><a class="delete_button" tid="${NotificationsObj.status.id}">Delete Toot</a></li>`);
|
||||
if(NotificationsObj.status.pinned == true) {
|
||||
own_toot_buttons += (`<li><a class="unpin_button" tid="${NotificationsObj.status.id}">Unpin Toot</a></li>`);
|
||||
}
|
||||
else {
|
||||
own_toot_buttons += (`<li><a class="pin_button" tid="${status.id}">Pin Toot</a></li>`);
|
||||
own_toot_buttons += (`<li><a class="pin_button" tid="${NotificationsObj.status.id}">Pin Toot</a></li>`);
|
||||
}
|
||||
}
|
||||
const html=(`
|
||||
|
Loading…
Reference in New Issue
Block a user