Archived
1
0

Fix error

This commit is contained in:
Marcel 2018-12-30 18:56:34 +01:00
parent ebb5c473f6
commit 3337dbbdcd

View File

@ -100,8 +100,8 @@ function set_range(start, end, element) {
$.fn.selectRange = function (start, end) { $.fn.selectRange = function (start, end) {
var e = document.getElementById($(this).attr('id')); var e = document.getElementById($(this).attr('id'));
if (!e) if (!e) {
else if (e.setSelectionRange) { } else if (e.setSelectionRange) {
e.focus(); e.focus();
e.setSelectionRange(start, end); e.setSelectionRange(start, end);
} /* WebKit */ } /* WebKit */