Commit 78a02ddc1fef9211df53f9ee42bbcca03545a8bc
1 parent
5d91b5dd
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
proposals_discussion: listen to fullwidth event
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
plugins/proposals_discussion/public/proposals_list.js
@@ -34,6 +34,9 @@ jQuery(document).ready(function($) { | @@ -34,6 +34,9 @@ jQuery(document).ready(function($) { | ||
34 | $(window).resize(function() { | 34 | $(window).resize(function() { |
35 | $('.topics').masonry(); | 35 | $('.topics').masonry(); |
36 | }); | 36 | }); |
37 | + $(window).bind('toggleFullwidth', function() { | ||
38 | + $('.topics').masonry(); | ||
39 | + }); | ||
37 | }); | 40 | }); |
38 | 41 | ||
39 | function loadSocialButtons() { | 42 | function loadSocialButtons() { |