Commit ab3d16a41249a4e4de4d1005dafaad5d8d9cccbd
1 parent
9c1e293b
Exists in
master
and in
5 other branches
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,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 | // scroll to the end | 190 | // scroll to the end |
| 188 | $('html, body').animate({ | 191 | $('html, body').animate({ |
sass/style.sass