Commit ab3d16a41249a4e4de4d1005dafaad5d8d9cccbd

Authored by Victor Costa
1 parent 9c1e293b

Display full text when click on proposal in proposals ranking

Showing 2 changed files with 4 additions and 0 deletions   Show diff stats
js/main.js
... ... @@ -183,6 +183,9 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F
183 183 }
184 184 });
185 185 }
  186 + $resultsContainer.find('.abstract-text .truncated').click(function() {
  187 + $(this).toggleClass('truncated');
  188 + });
186 189  
187 190 // scroll to the end
188 191 $('html, body').animate({
... ...
sass/style.sass
... ... @@ -786,6 +786,7 @@ td
786 786 text-align: center
787 787 .abstract-text
788 788 width: 80%
  789 + cursor: pointer
789 790 p
790 791 margin: inherit
791 792 .value
... ...