diff --git a/resources/artbox_comment.css b/resources/artbox_comment.css index 7ca9879..8b08853 100755 --- a/resources/artbox_comment.css +++ b/resources/artbox_comment.css @@ -316,4 +316,7 @@ .comments-start ul.pagination li.active a { color: #333; background-color: inherit; +} +.artbox-comment-list .show_more_block{ + } \ No newline at end of file diff --git a/resources/artbox_comment.js b/resources/artbox_comment.js index d54fc60..ada2d2a 100755 --- a/resources/artbox_comment.js +++ b/resources/artbox_comment.js @@ -321,4 +321,17 @@ form.trigger('reset'); } + + })(window.jQuery); + +$(document).on('click', '#show_more_link', function(){ + $("#show_more").show(); + $("#show_more_link").hide(); +}); + +$(document).on('click', '#hide_more_link', function(){ + $("#show_more").hide(); + $("#show_more_link").show(); +}); + diff --git a/views/artbox_comment_item.php b/views/artbox_comment_item.php index 6630afd..c5f4604 100755 --- a/views/artbox_comment_item.php +++ b/views/artbox_comment_item.php @@ -10,8 +10,11 @@ * @var int $index * @var ListView $widget * @var string $display_name + * @var array $more */ + ?> +