From 62d30735deb3f450837ce8ca8bd879ccf57f7618 Mon Sep 17 00:00:00 2001 From: Gabriel Rodriguez Alsina Date: Tue, 4 Jun 2019 15:06:10 -0300 Subject: [PATCH] (remove) demo modal --- apps/block_scout_web/assets/js/lib/modals.js | 5 ----- .../lib/block_scout_web/templates/layout/_footer.html.eex | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/apps/block_scout_web/assets/js/lib/modals.js b/apps/block_scout_web/assets/js/lib/modals.js index 95a54af405..fb19532540 100644 --- a/apps/block_scout_web/assets/js/lib/modals.js +++ b/apps/block_scout_web/assets/js/lib/modals.js @@ -22,11 +22,6 @@ $(function () { $('#successStatusModal').modal() }) - // TODO: Remove this - $(window).on('load', function () { - $('#questionStatusModal').modal() - }) - $('.js-stake-stake').on('click', function () { const modal = '#stakeModal' const progress = parseInt($(`${modal} .js-stakes-progress-data-progress`).text()) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex index 8d8e8f423a..1058654d49 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex @@ -84,9 +84,4 @@ <% end %> - - -<%= - render BlockScoutWeb.CommonComponentsView, "_modal_status.html", status: "question", title: "Lorem Ipsum", text: "Lorem ipsum dolor sit amet, consectetur -adipiscing elit, sed do eiusmod tempor." -%> \ No newline at end of file + \ No newline at end of file