From 30670d57cbe3d7fa52194f973e16bda77b00e791 Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Fri, 19 Jun 2015 17:00:49 -0300 Subject: [PATCH] fix: bad behaviour when on specifacally navigation --- index.html | 25 ++++++++++++------------- js/main.js | 1 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 375a837..da3e0cf 100644 --- a/index.html +++ b/index.html @@ -196,21 +196,20 @@ {{!--
--}}
- -
- {{#each categories}} -
- - {{name}} - {{#select_proposal ../../article.children slug ../id}}{{/select_proposal}} + +
+
+
+ {{#each categories}} +
+ + {{name}} + {{#select_proposal ../../article.children slug ../id}}{{/select_proposal}} +
+ {{/each}}
- {{/each}} +
- -
Imagem de apresentação do programa. diff --git a/js/main.js b/js/main.js index 20d3ff5..e415917 100644 --- a/js/main.js +++ b/js/main.js @@ -316,6 +316,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun // this.randomProposalByTheme(['category-saude', 'category-seguranca-publica', 'category-educacao', 'category-reducao-da-pobreza']); $('.proposal-item').show(); /* Show all programs */ $('#proposal-group').show(); + $('.content').addClass('background'); $('#proposal-categories').show(); $('.proposal-category-items').hide(); $('#nav-proposal-group a').addClass('active'); -- libgit2 0.21.2