]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/wp-auth-check.js
WordPress 4.2
[autoinstalls/wordpress.git] / wp-includes / js / wp-auth-check.js
index e58a27dab9c50338ad36cec14f99afe2bf42761e..4c0b71d9c22cc4a40582f11b8e56f090811cff20 100644 (file)
@@ -49,6 +49,7 @@
                        $('#wp-auth-check-form').append( frame );
                }
 
+               $( 'body' ).addClass( 'modal-open' );
                wrap.removeClass('hidden');
 
                if ( frame ) {
@@ -80,6 +81,7 @@
                wrap.fadeOut( 200, function() {
                        wrap.addClass('hidden').css('display', '');
                        $('#wp-auth-check-frame').remove();
+                       $( 'body' ).removeClass( 'modal-open' );
                });
        }