<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,6 @@
-function unautocapitalize(cssClass){
-  var elems = document.getElementsByClassName(cssClass);
-  for (var j = 0; j &lt; elems.length; j++){
-    elems[j].setAttribute('autocapitalize', 'off');
-  }
-}
-
 $(document).ready(function(){
   // disable autocapitalize on .url, .email fields
-  unautocapitalize('url');
-  unautocapitalize('email');
+  $('.url, .email').each(function(){
+    this.setAttribute('autocapitalize', 'off');
+  });
 });
\ No newline at end of file</diff>
      <filename>public/javascripts/iphone.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8ef772bbd7785768963c30db4fa425379f2c8fc1</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Nesbitt</name>
    <email>andrewnez@gmail.com</email>
  </author>
  <url>http://github.com/andrew/bumble/commit/f0c5a88c9048716535f5ae534acb3f98a8521b7c</url>
  <id>f0c5a88c9048716535f5ae534acb3f98a8521b7c</id>
  <committed-date>2009-08-16T06:08:12-07:00</committed-date>
  <authored-date>2009-08-16T06:08:12-07:00</authored-date>
  <message>Refactored iPhone specific javascript</message>
  <tree>08e2b5ca0bead311ec5ca557734eb44b867ed5b4</tree>
  <committer>
    <name>Andrew Nesbitt</name>
    <email>andrewnez@gmail.com</email>
  </committer>
</commit>
