Fixed tags html on truncate text in collection description
This commit is contained in:
parent
e32527aa78
commit
186c1b8ad1
|
@ -15,7 +15,7 @@
|
|||
var minimized_elements = $( this );
|
||||
|
||||
minimized_elements.each(function(){
|
||||
var t = $.trim(minimized_elements.text());
|
||||
var t = minimized_elements.html();
|
||||
if (t.length <= config.minChars) { return };
|
||||
|
||||
$( this ).html(
|
||||
|
|
|
@ -87,7 +87,6 @@ echo '</style>';
|
|||
<div class="text-white t-collection--info-description-text tainacan-interface-truncate">
|
||||
<?php tainacan_the_collection_description(); ?>
|
||||
<?php do_action( 'tainacan-interface-collection-description' ); ?>
|
||||
<a class="toggle" href="#"></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue