diff --git a/dist/treebird.css b/dist/treebird.css index e096a33..3b6b310 100644 --- a/dist/treebird.css +++ b/dist/treebird.css @@ -821,6 +821,11 @@ input[type=checkbox].hidden:not(:checked) + .reply-form padding-left: 9px; } +.status:not(:target) .status-meta .application-name +{ + display: none; +} + .notification-info + .status, .notification-info-format + .status { diff --git a/perl/string_helpers.pm b/perl/string_helpers.pm index 28b95b6..1d9041c 100644 --- a/perl/string_helpers.pm +++ b/perl/string_helpers.pm @@ -30,11 +30,14 @@ sub greentextify sub emojify { my ($text, $emojis) = @_; - foreach my $emoji (@{$emojis}) + if ($emojis) { - my $emo = $emoji->{shortcode}; - my $url = $emoji->{url}; - $text =~ s/:$emo://gsi; + foreach my $emoji (@{$emojis}) + { + my $emo = $emoji->{shortcode}; + my $url = $emoji->{url}; + $text =~ s/:$emo://gsi; + } } $text; }