]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/editor-expand.js
WordPress 4.4
[autoinstalls/wordpress.git] / wp-admin / js / editor-expand.js
index 4d76717309e0561b3b81d97a6cc1e11800407029..3a744fe505925a2ce262dcfb70557a7f45541518 100644 (file)
                                $document.on( 'dfw-on.focus', mceBind ).on( 'dfw-off.focus', mceUnbind );
 
                                // Make sure the body focuses when clicking outside it.
-                               editor.on( 'click', function( event ) {
+                               editor.on( 'click', function( event ) {
                                        if ( event.target === editor.getDoc().documentElement ) {
                                                editor.focus();
                                        }