Skip to content

Commit

Permalink
Merge branch 't/10505'
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Jun 5, 2013
2 parents bf6ca10 + af6a8af commit 8f4b94b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/dom/document.js
Expand Up @@ -235,11 +235,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype, {
* @returns {CKEDITOR.dom.window} The window object.
*/
getWindow: function() {
var win = new CKEDITOR.dom.window( this.$.parentWindow || this.$.defaultView );

return ( this.getWindow = function() {
return win;
})();
return new CKEDITOR.dom.window( this.$.parentWindow || this.$.defaultView );
},

/**
Expand Down

0 comments on commit 8f4b94b

Please sign in to comment.