]> git.immae.eu Git - perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git/blobdiff - sources/core/focusmanager.js
Add oembed
[perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git] / sources / core / focusmanager.js
index ee1bc39f62f7a22201a099295887fa599440aa91..45c3137801b42d570e78a1515a477736a6910768 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md or http://ckeditor.com/license
  */
 
                 * @member CKEDITOR.focusManager
                 */
                blur: function( noDelay ) {
-                       if ( this._.locked )
+                       if ( this._.locked ) {
                                return;
+                       }
 
                        function doBlur() {
                                if ( this.hasFocus ) {
                                }
                        }
 
-                       if ( this._.timer )
+                       if ( this._.timer ) {
                                clearTimeout( this._.timer );
+                       }
 
                        var delay = CKEDITOR.focusManager._.blurDelay;
-                       if ( noDelay || !delay )
+                       if ( noDelay || !delay ) {
                                doBlur.call( this );
-                       else {
+                       else {
                                this._.timer = CKEDITOR.tools.setTimeout( function() {
                                        delete this._.timer;
                                        doBlur.call( this );