forked from rDrama/rDrama
master
parent
60f58191b7
commit
9984fea7aa
|
@ -236,13 +236,8 @@ function showmore(t) {
|
||||||
if (!text) text = div.getElementsByClassName('showmore-text')[0]
|
if (!text) text = div.getElementsByClassName('showmore-text')[0]
|
||||||
if (!text) text = div.querySelector('div.d-none')
|
if (!text) text = div.querySelector('div.d-none')
|
||||||
|
|
||||||
text.classList.add('showmore-text')
|
text.classList.remove('d-none')
|
||||||
|
t.remove()
|
||||||
text.classList.toggle('d-none')
|
|
||||||
if (text.classList.contains('d-none'))
|
|
||||||
t.innerHTML = 'SHOW MORE'
|
|
||||||
else
|
|
||||||
t.innerHTML = 'SHOW LESS'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatDate(d) {
|
function formatDate(d) {
|
||||||
|
|
Loading…
Reference in New Issue