Skip to content

Commit

Permalink
lowered the amount of information rendered in the modal view
Browse files Browse the repository at this point in the history
  • Loading branch information
slifty committed May 9, 2012
1 parent c4a0814 commit e77ba20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goggles.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ activate_truth_goggles = function($) {
h = h + '</div>';
h = h + '<div class="verdict-content">';
h = h + '<div class="long-reason">'

var reason_ps = active_verdict.long_reason.split("\n");
var reason_string = active_verdict.long_reason.substring(0,500) + "...";
var reason_ps = reason_string.split("\n");
for(y in reason_ps) {
if($.trim(reason_ps[y]) == "")
continue;
Expand Down

0 comments on commit e77ba20

Please sign in to comment.