sneed
This commit is contained in:
parent
073576114b
commit
c3493ede84
2 changed files with 12 additions and 13 deletions
|
@ -804,16 +804,3 @@ $('.expandable-image').click( function(event) {
|
|||
|
||||
expandDesktopImage(url,url);
|
||||
})
|
||||
|
||||
$('.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');
|
||||
|
||||
})
|
|
@ -4,6 +4,18 @@
|
|||
{% include "bootstrap.html" %}
|
||||
|
||||
<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');
|
||||
|
||||
})
|
||||
|
||||
// Text Formatting
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue