1
0
mirror of https://github.com/humhub/humhub.git synced 2025-02-19 15:45:25 +01:00

Fixed Show More Button

This commit is contained in:
buddha87 2016-12-05 15:27:30 +01:00
parent 41e5453c57
commit d6568cf013

@ -20,7 +20,6 @@ $richOutput = humhub\widgets\RichText::widget(['text' => $post->message, 'record
$(document).ready(function () { $(document).ready(function () {
debugger;
// save the count of characters // save the count of characters
var _words = '<?php echo strlen(strip_tags($richOutput)); ?>'; var _words = '<?php echo strlen(strip_tags($richOutput)); ?>';
var _postHeight = $('#post-content-<?php echo $post->id; ?>').outerHeight(); var _postHeight = $('#post-content-<?php echo $post->id; ?>').outerHeight();