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

Commit c252576

Browse files
Fix JSLint errors
1 parent 0d76828 commit c252576

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/widgets/Dialogs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,14 @@ define(function (require, exports, module) {
134134
buttonId = DIALOG_BTN_CANCEL;
135135
} else if (e.which === KeyEvent.DOM_VK_RETURN && !inTextArea) { // enter key in single-line text input still dismisses
136136
// Click focused button or primary if no focus
137-
if($focusedElement.length !== 0) {
137+
if ($focusedElement.length !== 0) {
138138
$focusedElement.click();
139139
} else {
140140
$primaryBtn.click();
141141
}
142142
} else if (e.which === KeyEvent.DOM_VK_SPACE) {
143143
// Space bar on focused button or link
144-
if($focusedElement.length !== 0) {
144+
if ($focusedElement.length !== 0) {
145145
$focusedElement.click();
146146
}
147147
} else if (brackets.platform === "mac") {

0 commit comments

Comments
 (0)