From f995a11641a47f1351eca1fc5447ec64a9f0a2c8 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Jun 2012 21:35:03 -0700 Subject: [PATCH] have no idea why the if/endif macro block was getting printed and not processed. --- view/theme/slackr/birthdays_reminder.tpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/view/theme/slackr/birthdays_reminder.tpl b/view/theme/slackr/birthdays_reminder.tpl index 3f07b262..4a691dea 100644 --- a/view/theme/slackr/birthdays_reminder.tpl +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -1,7 +1,5 @@ -{{ if $classtoday }} -{{ endif }} + $(document).ready(function() { + $('#events-reminder').addClass($.trim('$classtoday')); + }); +