/**
- * @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 );