Commit dcab054560248440dece078de5f57896c98e6e80
1 parent
d0e5338d
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
#community dashboard - fixes
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
plugins/community_hub/public/javascripts/community_hub.js
@@ -254,6 +254,11 @@ function hub_right_tab_click() { | @@ -254,6 +254,11 @@ function hub_right_tab_click() { | ||
254 | jQuery("#left-tab").addClass('hide'); | 254 | jQuery("#left-tab").addClass('hide'); |
255 | jQuery("#right-tab").removeClass('hide'); | 255 | jQuery("#right-tab").removeClass('hide'); |
256 | jQuery("#right-tab").addClass('show'); | 256 | jQuery("#right-tab").addClass('show'); |
257 | + jQuery(".hub #left-tab.hide").click(hub_left_tab_click); | ||
258 | +} | ||
259 | + | ||
260 | +function marcelo() { | ||
261 | + console.log('teste!'); | ||
257 | } | 262 | } |
258 | 263 | ||
259 | jQuery(document).ready(function() { | 264 | jQuery(document).ready(function() { |
@@ -261,7 +266,6 @@ jQuery(document).ready(function() { | @@ -261,7 +266,6 @@ jQuery(document).ready(function() { | ||
261 | live_scroll_position = jQuery("#live-posts").scrollTop(); | 266 | live_scroll_position = jQuery("#live-posts").scrollTop(); |
262 | }); | 267 | }); |
263 | 268 | ||
264 | - jQuery(".hub #left-tab.hide").click(hub_left_tab_click); | ||
265 | jQuery(".hub #right-tab.hide").click(hub_right_tab_click); | 269 | jQuery(".hub #right-tab.hide").click(hub_right_tab_click); |
266 | 270 | ||
267 | setTimeout(update_live_stream, 5000); | 271 | setTimeout(update_live_stream, 5000); |