diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-22 14:55:41 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-22 14:55:41 -0400 |
commit | 860635fd177382be52e981c277b2c7ae33ff7d00 (patch) | |
tree | cf723c0e560d94c09e13d1582159577cd00a8b23 /demos/autocomplete/multiple.html | |
parent | fe13fbadd45b59fb67ce6b47c5aea6231596a7c7 (diff) | |
download | jquery-ui-860635fd177382be52e981c277b2c7ae33ff7d00.tar.gz jquery-ui-860635fd177382be52e981c277b2c7ae33ff7d00.zip |
Autocomplete: Removed selection handling in IE. No longer needed now that autocomplete ensures that the cursor is placed at the end of the field on select.
Diffstat (limited to 'demos/autocomplete/multiple.html')
-rw-r--r-- | demos/autocomplete/multiple.html | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/demos/autocomplete/multiple.html b/demos/autocomplete/multiple.html index 742c7d857..1f9243bf2 100644 --- a/demos/autocomplete/multiple.html +++ b/demos/autocomplete/multiple.html @@ -39,13 +39,6 @@ // add placeholder to get the comma-and-space at the end terms.push(""); this.value = terms.join(", "); - if ( document.selection ) { - this.focus(); - var range = document.selection.createRange(); - range.moveStart( 'character', this.value.length ); - range.moveEnd( 'character', 0 ); - range.select(); - } return false; } }); |