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 #9915 from eliezerb/add-input-types-to-focusable-e…
Browse files Browse the repository at this point in the history
…lements

Adding input types to focusable elements #9476
  • Loading branch information
redmunds committed Dec 2, 2014
2 parents e0c0b98 + a7a0870 commit c70c652
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/brackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,7 @@ define(function (require, exports, module) {
// Text fields should always be focusable.
var $target = $(e.target),
isFormElement =
$target.is("input[type=text]") ||
$target.is("input[type=number]") ||
$target.is("input[type=password]") ||
$target.is("input:not([type])") || // input with no type attribute defaults to text
$target.is("input") ||
$target.is("textarea") ||
$target.is("select");

Expand Down

0 comments on commit c70c652

Please sign in to comment.