Turn off autocapitalization for tag input boxes (Mobile Safari goodness).
authorRyan C. Gordon <icculus@icculus.org>
Mon, 05 Jul 2010 17:46:58 -0700
changeset 63 83b864d3590b
parent 62 b7452dfbceb9
child 64 c55096bc4f3b
Turn off autocapitalization for tag input boxes (Mobile Safari goodness).
index.html
--- a/index.html	Mon Jul 05 17:34:38 2010 -0700
+++ b/index.html	Mon Jul 05 17:46:58 2010 -0700
@@ -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");
@@ -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();'