vitalets/x-editable — pull request #592 by TheCrow1213 (2014-05-22 15:05:48+00:00)
Title: fixing console errors for number input fields

Was getting a JS console error when calling setSelectionRange:
"Uncaught InvalidStateError: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection."