theme: don't use jquery in new code

This commit is contained in:
Sören Weber 2022-03-06 10:23:34 +01:00
parent 9732cc9aa9
commit 5f76f6ce27
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -344,7 +344,7 @@ function initSwipeHandler(){
else if( diffx > 30 ){
startx = null;
starty = null;
jQuery(document.body).toggleClass('sidebar-flyout');
document.querySelector( 'body' ).classList.toggle( 'sidebar-flyout' );
}
}
return false;