sfdsdf
This commit is contained in:
parent
5d31720b7a
commit
0b96ef3e53
1 changed files with 6 additions and 6 deletions
|
@ -659,13 +659,13 @@
|
|||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load",function(event) {
|
||||
function expandText(id) {
|
||||
document.getElementById('post-text-'+id).classList.toggle('d-none');
|
||||
document.getElementsByClassName('text-expand-icon-'+id)[0].classList.toggle('fa-expand-alt');
|
||||
document.getElementsByClassName('text-expand-icon-'+id)[0].classList.toggle('fa-compress-alt');
|
||||
};
|
||||
function expandText(id) {
|
||||
document.getElementById('post-text-'+id).classList.toggle('d-none');
|
||||
document.getElementsByClassName('text-expand-icon-'+id)[0].classList.toggle('fa-expand-alt');
|
||||
document.getElementsByClassName('text-expand-icon-'+id)[0].classList.toggle('fa-compress-alt');
|
||||
};
|
||||
|
||||
window.addEventListener("load",function(event) {
|
||||
var clipboard = new ClipboardJS('.copy-link');
|
||||
clipboard.on('success', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue