Skip to content

Commit

Permalink
Update text-source-range.js
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 24, 2024
1 parent 92aa051 commit fca99c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/js/dom/text-source-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ export class TextSourceRange {
*/
isImposterInputOrTextArea() {

Check failure on line 102 in ext/js/dom/text-source-range.js

View workflow job for this annotation

GitHub Actions / Static Analysis

Expected indentation of 4 spaces but found 5
if (this._imposterSourceElement) {
return this._imposterSourceElement.tagName === 'INPUT' || this._imposterSourceElement.tagName === 'TEXTAREA';
const type = this._imposterSourceElement.nodeName.toUpperCase();
return type === 'INPUT' || type === 'TEXTAREA';
}
return false;
}

Check failure on line 108 in ext/js/dom/text-source-range.js

View workflow job for this annotation

GitHub Actions / Static Analysis

Expected indentation of 4 spaces but found 5
Expand Down

0 comments on commit fca99c4

Please sign in to comment.