auto change font size to small if text is too long
parent
29c62c5d97
commit
c585dd8d63
|
@ -1020,9 +1020,9 @@
|
|||
document.querySelector('#shx-info-text').style.display = 'block';
|
||||
|
||||
// hide the text after 5 seconds
|
||||
setTimeout(() => {
|
||||
this.infoTextTimeout = setTimeout(() => {
|
||||
document.querySelector('#shx-info-text').style.display = 'none';
|
||||
}, 10000);
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue