Skip to content

Commit

Permalink
Turn off autocapitalization for tag input boxes (Mobile Safari goodne…
Browse files Browse the repository at this point in the history
…ss).
  • Loading branch information
icculus committed Jul 6, 2010
1 parent 860c4c2 commit 532d77d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Expand Up @@ -396,8 +396,9 @@
if (tagstr == '(none)')
tagstr = '';

var html = "<input size='100' class='tagedit' name='tagedit' type='text'" +
"value='" + tagstr + "' autocomplete='off'/>";
var html = "<input type='text' autocapitalize='off' size='100'" +
" class='tagedit' name='tagedit'" +
" value='" + tagstr + "'/>";
element.html(html);

editor = $("input.tagedit");
Expand Down Expand Up @@ -446,7 +447,8 @@
<div class='nickname'></div>
<div class='controls'>
<div class='searchbox'>
<input class='tagfilter' name='filter' type='text'
<input type='text' autocapitalize='off'
class='tagfilter' name='filter'
onFocus='focus_filter_textbox();'
onBlur='run_filter();'
onChange='run_filter();'
Expand Down

0 comments on commit 532d77d

Please sign in to comment.