(remove) demo modal

pull/2091/head
Gabriel Rodriguez Alsina 6 years ago
parent 072f73a914
commit 62d30735de
  1. 5
      apps/block_scout_web/assets/js/lib/modals.js
  2. 7
      apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex

@ -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())

@ -84,9 +84,4 @@
</div>
<% end %>
</div>
</footer>
<!-- TODO: Remove this -->
<%=
render BlockScoutWeb.CommonComponentsView, "_modal_status.html", status: "question", title: "Lorem Ipsum", text: "Lorem ipsum dolor sit amet, consectetur
adipiscing elit, sed do eiusmod tempor."
%>
</footer>
Loading…
Cancel
Save