Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix for #11

  • Loading branch information...
commit 338511c222d87cd448937342ad176347278ae036 1 parent 20b8d39
friflaj authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 app/views/tagging/_tagcloud.erb
5 app/views/tagging/_tagcloud.erb
@@ -10,10 +10,11 @@
10 10 }
11 11
12 12 tags = tags.reject {|key,value| value == 0 }
  13 + %>
  14 + <% if tags.size > 0
13 15 min = tags.values.min
14   - factor = 10 / ((tags.values.max - min) + 1)
  16 + factor = 10.0 / ((tags.values.max - min) + 1)
15 17 %>
16   - <% if tags.size > 0 %>
17 18 <h3><%= l(:field_tags) %></h3>
18 19 <div id='tagcloud'>
19 20 <% tags.keys.sort.each do |tag| %>

0 comments on commit 338511c

Please sign in to comment.
Something went wrong with that request. Please try again.