Commit 6eb5a57850e4bda41a15d2b4ecc9fa9606df2869
Exists in
master
and in
5 other branches
Merge branch 'fix-navigation'
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
js/main.js
| ... | ... | @@ -45,7 +45,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
| 45 | 45 | //127.0.0.1 login.dialoga.gov.br |
| 46 | 46 | //127.0.0.1 noosfero.com |
| 47 | 47 | //Detects for localhost settings |
| 48 | - var patt = new RegExp(':300[0-2]/'); | |
| 48 | + var patt = new RegExp(':300[0-2]/'); | |
| 49 | 49 | var localDevelopment = false; |
| 50 | 50 | |
| 51 | 51 | if(patt.test(window.location.href)){ |
| ... | ... | @@ -68,7 +68,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
| 68 | 68 | recaptchaSiteKey = '6LdsWAcTAAAAAChTUUD6yu9fCDhdIZzNd7F53zf-'; //http://noosfero.com/ |
| 69 | 69 | cat_saude = 23; |
| 70 | 70 | } |
| 71 | - } | |
| 71 | + } | |
| 72 | 72 | |
| 73 | 73 | |
| 74 | 74 | var BARRA_ADDED = false; |
| ... | ... | @@ -499,6 +499,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
| 499 | 499 | $('.content').addClass('background'); /* Add class background */ |
| 500 | 500 | $('.proposal-category-items').hide(); |
| 501 | 501 | $('.proposal-detail').hide().removeClass('hide'); |
| 502 | + $('#article-container').hide(); | |
| 502 | 503 | $item.toggle( 'blind', 200, function () { |
| 503 | 504 | var itemOffset = $item.offset(); |
| 504 | 505 | if(itemOffset){ | ... | ... |