1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

Updated to exclude new modules

This commit is contained in:
hexeth 2020-03-31 08:42:08 -07:00
parent 4eacb21259
commit da42c51af2

View File

@ -363,7 +363,7 @@ $( '#logout' ).parent().addClass( 'dropdown' ).appendTo( '.profileDropli' );
// Remove the modals except from some areas where they are needed // Remove the modals except from some areas where they are needed
bodyClass = $( 'body' ).attr( 'class' ).split(' '); bodyClass = $( 'body' ).attr( 'class' ).split(' ');
modalWanted = ['admin', 'editbook', 'config', 'uiconfig']; modalWanted = ['admin', 'editbook', 'config', 'uiconfig', 'me', 'edituser'];
if ( $.inArray( bodyClass[0], modalWanted) != -1 ) { if ( $.inArray( bodyClass[0], modalWanted) != -1 ) {
} else { } else {