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 = "";
|
toot_reblog_button = "";
|
||||||
}
|
}
|
||||||
var own_toot_buttons = "";
|
var own_toot_buttons = "";
|
||||||
if(status.account.acct == current_acct) {
|
if(NotificationsObj.status.account.acct == current_acct) {
|
||||||
var own_toot_buttons = (`<li><a class="delete_button" tid="${status.id}">Delete Toot</a></li>`);
|
var own_toot_buttons = (`<li><a class="delete_button" tid="${NotificationsObj.status.id}">Delete Toot</a></li>`);
|
||||||
if(status.pinned == true) {
|
if(NotificationsObj.status.pinned == true) {
|
||||||
own_toot_buttons += (`<li><a class="unpin_button" tid="${status.id}">Unpin Toot</a></li>`);
|
own_toot_buttons += (`<li><a class="unpin_button" tid="${NotificationsObj.status.id}">Unpin Toot</a></li>`);
|
||||||
}
|
}
|
||||||
else {
|
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=(`
|
const html=(`
|
||||||
|
|
Loading…
Reference in New Issue