From 66f494c7c1edfeacc2e4dc6e62848d2dd402b879 Mon Sep 17 00:00:00 2001 From: Niklas Poslovski Date: Sat, 14 Jul 2018 20:43:52 +0000 Subject: [PATCH] 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. --- assets/js/halcyon/halcyonTemplates.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/js/halcyon/halcyonTemplates.js b/assets/js/halcyon/halcyonTemplates.js index 13e261d..b45e400 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(status.account.acct == current_acct) { -var own_toot_buttons = (`
  • Delete Toot
  • `); -if(status.pinned == true) { -own_toot_buttons += (`
  • Unpin Toot
  • `); +if(NotificationsObj.status.account.acct == current_acct) { +var own_toot_buttons = (`
  • Delete Toot
  • `); +if(NotificationsObj.status.pinned == true) { +own_toot_buttons += (`
  • Unpin Toot
  • `); } else { -own_toot_buttons += (`
  • Pin Toot
  • `); +own_toot_buttons += (`
  • Pin Toot
  • `); } } const html=(`