Commits

ezio.melotti  committed 988b0d1

Avoid using display:block -- the resize works with display:inline too. Also close the span properly in issue.item.html.

  • Participants
  • Parent commits ccf170a

Comments (0)

Files changed (2)

File html/issue.item.html

         tal:define="current_user request/user/username"
         tal:condition="python:request.user.username != 'anonymous' and current_user not in str(context.nosy).replace(' ','').split(',')"
         tal:attributes="onclick string:add_to_nosy('$current_user')"
-        onclick="add_to_nosy(the_current_username)" />
+        onclick="add_to_nosy(the_current_username)"></span>
  </td>
 </tr>
 <tr>

File html/issue.item.js

     // hide the button and resize the list to fill the void
     var new_width = nosy.offsetWidth + add_me_button.offsetWidth;
     add_me_button.style.display = 'none';
-    nosy.style.display = 'block';
+    nosy.style.display = 'inline';
     nosy.style.width = new_width + "px";
 }