mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix index js warning
This commit is contained in:
parent
9147e3a0bd
commit
40b07572a9
@ -23,8 +23,10 @@
|
||||
<script type="text/javascript">
|
||||
setTimeout(() => {
|
||||
let warning = document.getElementsByClassName('warning').item(0)
|
||||
warning.classList.remove('hide')
|
||||
warning.classList.add('show')
|
||||
if (warning) {
|
||||
warning.classList.remove('hide')
|
||||
warning.classList.add('show')
|
||||
}
|
||||
}, 8000)
|
||||
</script>
|
||||
<style type="text/css">
|
||||
|
Loading…
x
Reference in New Issue
Block a user