Fixed the bugfix,the new variable was wrong,too
This commit is contained in:
parent
3e6a77e45f
commit
90eeec77ac
|
@ -11,7 +11,7 @@ Follow our Mastodon account and never miss an important update: [@halcyon@social
|
||||||
## Instances
|
## Instances
|
||||||
These instances are publicly accessible and usable by everyone, no matter which Mastodon instance you use.
|
These instances are publicly accessible and usable by everyone, no matter which Mastodon instance you use.
|
||||||
- https://itter.photog.social - 1.2.4
|
- https://itter.photog.social - 1.2.4
|
||||||
- https://halcyon.uelfte.club - 1.2.3
|
- https://halcyon.uelfte.club - 1.2.4
|
||||||
- https://social.dev-wiki.de - 1.2.2
|
- https://social.dev-wiki.de - 1.2.2
|
||||||
- https://halcyon.toromino.de - 1.2.2
|
- https://halcyon.toromino.de - 1.2.2
|
||||||
- https://halcyon.distsn.org - 1.2.1
|
- https://halcyon.distsn.org - 1.2.1
|
||||||
|
@ -57,4 +57,4 @@ Upload it, edit config.ini and have fun!
|
||||||
- [Kirschn/mastodon.js](https://github.com/Kirschn/mastodon.js)
|
- [Kirschn/mastodon.js](https://github.com/Kirschn/mastodon.js)
|
||||||
- [yks118/Mastodon-api-php](https://github.com/yks118/Mastodon-api-php)
|
- [yks118/Mastodon-api-php](https://github.com/yks118/Mastodon-api-php)
|
||||||
- [distsn/vinayaka](https://github.com/distsn/vinayaka)
|
- [distsn/vinayaka](https://github.com/distsn/vinayaka)
|
||||||
- [LascauxSRL/lsx-emojipicker](https://github.com/LascauxSRL/lsx-emojipicker)
|
- [LascauxSRL/lsx-emojipicker](https:// vogithub.com/LascauxSRL/lsx-emojipicker)
|
||||||
|
|
|
@ -593,13 +593,13 @@ toot_footer_width = "";
|
||||||
toot_reblog_button = "";
|
toot_reblog_button = "";
|
||||||
}
|
}
|
||||||
var own_toot_buttons = "";
|
var own_toot_buttons = "";
|
||||||
if(NotificationsObj.status.account.acct == current_acct) {
|
if(NotificationObj.status.account.acct == current_acct) {
|
||||||
var own_toot_buttons = (`<li><a class="delete_button" tid="${NotificationsObj.status.id}">Delete Toot</a></li>`);
|
var own_toot_buttons = (`<li><a class="delete_button" tid="${NotificationObj.status.id}">Delete Toot</a></li>`);
|
||||||
if(NotificationsObj.status.pinned == true) {
|
if(NotificationObj.status.pinned == true) {
|
||||||
own_toot_buttons += (`<li><a class="unpin_button" tid="${NotificationsObj.status.id}">Unpin Toot</a></li>`);
|
own_toot_buttons += (`<li><a class="unpin_button" tid="${NotificationObj.status.id}">Unpin Toot</a></li>`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
own_toot_buttons += (`<li><a class="pin_button" tid="${NotificationsObj.status.id}">Pin Toot</a></li>`);
|
own_toot_buttons += (`<li><a class="pin_button" tid="${NotificationObj.status.id}">Pin Toot</a></li>`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const html=(`
|
const html=(`
|
||||||
|
|
Loading…
Reference in New Issue