Skip to content

Commit

Permalink
prevent quickstart from redirecting to /new page (#8594)
Browse files Browse the repository at this point in the history
* fix modal reopen in loop

* feedback from octo
  • Loading branch information
thelostone-mc authored Mar 15, 2021
1 parent 49d2bd9 commit 9e18dd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/assets/v2/js/pages/new_bounty.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ Vue.mixin({
doc.querySelector('.show_video').href = 'https://www.youtube.com/watch?v=m1X0bDpVcf4';
doc.querySelector('.show_video').target = '_blank';

if (guide && guide.dataset)
guide.dataset.dismiss = 'modal';
guide.dataset.dismiss = 'modal';

const docArticle = doc.querySelector('.content').innerHTML;
const content = $.parseHTML(
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/templates/quickstart.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h4 class="title text-center">{% trans "Funder Guide" %}</h4>
</a>
</div>
<div class="col-12 text-center">
<a href="{% url 'new_funding' %}" class="btn btn-primary btn-lg text-white px-5 py-3">
<a href="{% url 'new_funding' %}" class="btn btn-primary btn-lg text-white px-5 py-3 btn-closeguide">
{% trans "Ok, I'm ready" %}
</a>
</div>
Expand Down

0 comments on commit 9e18dd1

Please sign in to comment.