diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-12 21:11:28 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-12 21:11:28 +0100 |
commit | 8aabc6bc3dfccb85f44b5db4708a756124277e1e (patch) | |
tree | f14531513d44fdf0d181cdef8731ce1a908f2b9d /Zotlabs/Lib | |
parent | d9ecca859150f9e9e4213eded9e3f8a69e57f4be (diff) | |
download | volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.tar.gz volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.tar.bz2 volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.zip |
many dropdown and class fixes. still a long way to go...
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 799a606d6..6534a5345 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -183,7 +183,7 @@ class ThreadItem { $like_list = ((x($conv_responses['like'],$item['mid'])) ? $conv_responses['like'][$item['mid'] . '-l'] : ''); if (count($like_list) > MAX_LIKERS) { $like_list_part = array_slice($like_list, 0, MAX_LIKERS); - array_push($like_list_part, '<a href="#" data-toggle="modal" data-target="#likeModal-' . $this->get_id() . '"><b>' . t('View all') . '</b></a>'); + array_push($like_list_part, '<a class="dropdown-item" href="#" data-toggle="modal" data-target="#likeModal-' . $this->get_id() . '"><b>' . t('View all') . '</b></a>'); } else { $like_list_part = ''; } @@ -195,7 +195,7 @@ class ThreadItem { $dislike_button_label = tt('Dislike','Dislikes',$dislike_count,'noun'); if (count($dislike_list) > MAX_LIKERS) { $dislike_list_part = array_slice($dislike_list, 0, MAX_LIKERS); - array_push($dislike_list_part, '<a href="#" data-toggle="modal" data-target="#dislikeModal-' . $this->get_id() . '"><b>' . t('View all') . '</b></a>'); + array_push($dislike_list_part, '<a class="dropdown-item" href="#" data-toggle="modal" data-target="#dislikeModal-' . $this->get_id() . '"><b>' . t('View all') . '</b></a>'); } else { $dislike_list_part = ''; } |