From 9e18dd13949e3749f21918399caa7a5718fd4ae9 Mon Sep 17 00:00:00 2001 From: Aditya Anand M C Date: Mon, 15 Mar 2021 19:58:21 +0530 Subject: [PATCH] prevent quickstart from redirecting to /new page (#8594) * fix modal reopen in loop * feedback from octo --- app/assets/v2/js/pages/new_bounty.js | 3 +-- app/dashboard/templates/quickstart.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index e910e604cc6..d140e8f354f 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -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( diff --git a/app/dashboard/templates/quickstart.html b/app/dashboard/templates/quickstart.html index 643160a25f5..69d70b9a6ee 100644 --- a/app/dashboard/templates/quickstart.html +++ b/app/dashboard/templates/quickstart.html @@ -66,7 +66,7 @@

{% trans "Funder Guide" %}

- + {% trans "Ok, I'm ready" %}