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:
parent
4eacb21259
commit
da42c51af2
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user