set-caret-position
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -7,4 +7,3 @@ module.exports = function (inputField, caretPos) { | ||
} else { | ||
if (inputField.selectionStart || $(inputField).selectionStart === | ||
0) { | ||
if (inputField.selectionStart || inputField.selectionStart === 0) { | ||
inputField.focus(); | ||
@@ -11,0 +10,0 @@ inputField.setSelectionRange(caretPos, caretPos); |
{ | ||
"name": "set-caret-position", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Move cursor to beginning of line below", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1321
27