do not open in a new window since there is a navigator for the album now

master
Coleman 2008-08-13 14:06:10 -05:00
parent 1abe07ef85
commit 2ba5df650d
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<% else -%>
<% photos.each_with_index do |photo, idx| -%>
<div class="photo col_<%= (idx + 1) % 3 -%>"><a href="<%= url(:photo, photo) -%>" rel="nofollow" onclick="window.open(this.href);return false;"><img src="<%= thumbnail_photo_url(photo) -%>" /></a></div>
<div class="photo col_<%= (idx + 1) % 3 -%>"><a href="<%= url(:photo, photo) -%>" rel="nofollow"><img src="<%= thumbnail_photo_url(photo) -%>" /></a></div>
<% if (idx + 1) % 3 == 0 or photos.last == photo -%><br style="clear:both" /><% end -%>
<% end -%>