From 90eeec77ac92d23c0d74090dd862fc52c47d61f6 Mon Sep 17 00:00:00 2001 From: nipos Date: Sun, 15 Jul 2018 12:51:09 +0200 Subject: [PATCH] Fixed the bugfix,the new variable was wrong,too --- README.md | 4 ++-- assets/js/halcyon/halcyonTemplates.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 49e5e9e..5aaa24c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Follow our Mastodon account and never miss an important update: [@halcyon@social ## Instances These instances are publicly accessible and usable by everyone, no matter which Mastodon instance you use. - 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://halcyon.toromino.de - 1.2.2 - 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) - [yks118/Mastodon-api-php](https://github.com/yks118/Mastodon-api-php) - [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) diff --git a/assets/js/halcyon/halcyonTemplates.js b/assets/js/halcyon/halcyonTemplates.js index b45e400..977a12f 100644 --- a/assets/js/halcyon/halcyonTemplates.js +++ b/assets/js/halcyon/halcyonTemplates.js @@ -593,13 +593,13 @@ toot_footer_width = ""; toot_reblog_button = ""; } var own_toot_buttons = ""; -if(NotificationsObj.status.account.acct == current_acct) { -var own_toot_buttons = (`
  • Delete Toot
  • `); -if(NotificationsObj.status.pinned == true) { -own_toot_buttons += (`
  • Unpin Toot
  • `); +if(NotificationObj.status.account.acct == current_acct) { +var own_toot_buttons = (`
  • Delete Toot
  • `); +if(NotificationObj.status.pinned == true) { +own_toot_buttons += (`
  • Unpin Toot
  • `); } else { -own_toot_buttons += (`
  • Pin Toot
  • `); +own_toot_buttons += (`
  • Pin Toot
  • `); } } const html=(`