(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. 5
      apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex

@ -22,11 +22,6 @@ $(function () {
$('#successStatusModal').modal() $('#successStatusModal').modal()
}) })
// TODO: Remove this
$(window).on('load', function () {
$('#questionStatusModal').modal()
})
$('.js-stake-stake').on('click', function () { $('.js-stake-stake').on('click', function () {
const modal = '#stakeModal' const modal = '#stakeModal'
const progress = parseInt($(`${modal} .js-stakes-progress-data-progress`).text()) const progress = parseInt($(`${modal} .js-stakes-progress-data-progress`).text())

@ -85,8 +85,3 @@
<% end %> <% end %>
</div> </div>
</footer> </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."
%>
Loading…
Cancel
Save