Skip to content

Commit

Permalink
prevent warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Oct 21, 2024
1 parent ae6c921 commit b66911c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desktop/js/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ if (!jeeFrontEnd.connection) {
},
goToIndex: function() {
jeeFrontEnd.connection.animateCss(document.querySelector('.veen'), 'bounceOut', function() {
document.querySelectorAll('.veen').hide()
if(document.querySelectorAll('.veen').length > 0){
document.querySelectorAll('.veen')?.hide()
}
window.location.href = 'index.php?v=d'
})
},
Expand Down

0 comments on commit b66911c

Please sign in to comment.