Commit 56ff3fb25fe029c9f3d21300a589223a0208bdc4
Exists in
master
and in
10 other branches
Merged
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
index.html
| @@ -152,7 +152,7 @@ | @@ -152,7 +152,7 @@ | ||
| 152 | <div class="message"></div> | 152 | <div class="message"></div> |
| 153 | <div> | 153 | <div> |
| 154 | <div><label for="article_abstract">Descrição</label></div> | 154 | <div><label for="article_abstract">Descrição</label></div> |
| 155 | - <textarea id="article_abstract" class="countdown" name="article[abstract]" placeholder="Descrição" maxlength="200"></textarea> | 155 | + <textarea id="article_abstract" class="countdown" name="article[abstract]" placeholder="Descrição" maxlength="5000"></textarea> |
| 156 | </div> | 156 | </div> |
| 157 | <input id='content_type' name='content_type' value='ProposalsDiscussionPlugin::Story' type='hidden'> | 157 | <input id='content_type' name='content_type' value='ProposalsDiscussionPlugin::Story' type='hidden'> |
| 158 | <input type='submit' id='make-experience-button' class='make-experience-button' name='make-experience-button' value='Enviar'> | 158 | <input type='submit' id='make-experience-button' class='make-experience-button' name='make-experience-button' value='Enviar'> |
js/main.js
| @@ -210,6 +210,7 @@ function loadRandomProposal(topic_id, private_token) { | @@ -210,6 +210,7 @@ function loadRandomProposal(topic_id, private_token) { | ||
| 210 | $('.results-container').html(resultsTemplate(data)); | 210 | $('.results-container').html(resultsTemplate(data)); |
| 211 | $('.results-container .loading').hide(); | 211 | $('.results-container .loading').hide(); |
| 212 | $('.results-container .results-content').show(); | 212 | $('.results-container .results-content').show(); |
| 213 | + $("html, body").animate({ scrollTop: $(document).height() }, "fast"); | ||
| 213 | }); | 214 | }); |
| 214 | $('.experience-proposal-container').hide(); | 215 | $('.experience-proposal-container').hide(); |
| 215 | $('.talk-proposal-container').hide(); | 216 | $('.talk-proposal-container').hide(); |
| @@ -334,6 +335,7 @@ function display_proposal_detail(){ | @@ -334,6 +335,7 @@ function display_proposal_detail(){ | ||
| 334 | $('.talk-proposal-container').hide(); | 335 | $('.talk-proposal-container').hide(); |
| 335 | 336 | ||
| 336 | $('.body').show(); | 337 | $('.body').show(); |
| 338 | + $("html, body").animate({ scrollTop: 0 }, "fast"); | ||
| 337 | } | 339 | } |
| 338 | 340 | ||
| 339 | function display_proposal_by_category(item){ | 341 | function display_proposal_by_category(item){ |
| @@ -417,4 +419,4 @@ if("onhashchange" in window){ | @@ -417,4 +419,4 @@ if("onhashchange" in window){ | ||
| 417 | window.onhashchange = locationHashChanged; | 419 | window.onhashchange = locationHashChanged; |
| 418 | }else{ | 420 | }else{ |
| 419 | console.log('The browser not supports the hashchange event!'); | 421 | console.log('The browser not supports the hashchange event!'); |
| 420 | -} | ||
| 421 | \ No newline at end of file | 422 | \ No newline at end of file |
| 423 | +} |