sneed
parent
cab9ff1f4c
commit
f83b0527db
|
@ -3,6 +3,19 @@
|
||||||
<head>
|
<head>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
$('.text-expand').click(function(event){
|
||||||
|
if (event.which != 1) {
|
||||||
|
return
|
||||||
|
};
|
||||||
|
id=$(this).data('id');
|
||||||
|
|
||||||
|
|
||||||
|
$('#post-text-'+id).toggleClass('d-none');
|
||||||
|
$('.text-expand-icon-'+id).toggleClass('fa-expand-alt');
|
||||||
|
$('.text-expand-icon-'+id).toggleClass('fa-compress-alt');
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
post_comment=function(fullname){
|
post_comment=function(fullname){
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,3 @@
|
||||||
<script>
|
|
||||||
$('.text-expand').click(function(event){
|
|
||||||
if (event.which != 1) {
|
|
||||||
return
|
|
||||||
};
|
|
||||||
id=$(this).data('id');
|
|
||||||
|
|
||||||
|
|
||||||
$('#post-text-'+id).toggleClass('d-none');
|
|
||||||
$('.text-expand-icon-'+id).toggleClass('fa-expand-alt');
|
|
||||||
$('.text-expand-icon-'+id).toggleClass('fa-compress-alt');
|
|
||||||
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
{% for p in listing %}
|
{% for p in listing %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue