<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,18 +5,13 @@ $(document).ready(function() {
     var make_counter = function() {
       return $(&quot;&lt;span id=\&quot;counter\&quot;&gt;&quot; + (index+1) + &quot;/&quot; + len + &quot;&lt;/span&gt;&quot;);
     }
-
-    
-
     var show_next = function() {
       index = (index+1) % len;
       $(images.children('li')).hide();
       $(images.children('li')[index]).show();
-      $(&quot;#counter&quot;).replaceWith(make_counter());
+      $(&quot;#counter&quot;).remove();
+      $(images).prepend(make_counter());
     }
-    
-    $(&quot;#images&quot;).prepend(make_counter());
-    
     show_next();
-    $(&quot;#images&quot;).click(show_next);
+    $(images).click(show_next);
   });</diff>
      <filename>jquery_project/media/js/portfolio.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e2f871873f776877acc7e2e30c50e8959562e927</id>
    </parent>
  </parents>
  <author>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </author>
  <url>http://github.com/howiworkdaily/django-portfolio/commit/f82c37b26514ce036049108fa2b857bd69a30218</url>
  <id>f82c37b26514ce036049108fa2b857bd69a30218</id>
  <committed-date>2008-12-28T18:58:45-08:00</committed-date>
  <authored-date>2008-12-28T18:58:45-08:00</authored-date>
  <message>Fixed JS creating duplicate image counters.</message>
  <tree>da6683e2fc5da016c80277aa87c648a32f75ab2d</tree>
  <committer>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </committer>
</commit>
