Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9672 from adobe/jeff/fix-9664
Browse files Browse the repository at this point in the history
Blur Current Editor when focusing Pane W/O Editor the Focus from the Global Menu
  • Loading branch information
redmunds committed Oct 24, 2014
2 parents 1ba6e0d + e500151 commit 286bf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/Pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ define(function (require, exports, module) {
//
// ==> Focus is still in the text area. Any keyboard input will modify the document

if (current.tagName === "textarea" &&
if (current.tagName.toLowerCase() === "textarea" &&
(!this._currentView || !this._currentView._codeMirror)) {
current.blur();
}
Expand Down

0 comments on commit 286bf48

Please sign in to comment.