diff --git a/src/jquery.tokeninput.js b/src/jquery.tokeninput.js index 4b69d823..e76b885f 100755 --- a/src/jquery.tokeninput.js +++ b/src/jquery.tokeninput.js @@ -1068,7 +1068,11 @@ function focusWithTimeout(object) { setTimeout( function() { - object.focus(); + try { + object.focus(); + } catch(e) { + // ignore exception + } }, 50 );