Skip to content

Commit

Permalink
Merge pull request #4283 from thelostone-mc/prettify
Browse files Browse the repository at this point in the history
fix: hide network tab on live
  • Loading branch information
octavioamu authored Apr 25, 2019
2 parents ab261bd + 15c1c42 commit 61163c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/dashboard/templates/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ <h3 class="popover-header"></h3>
$.fn.bootstrapModal = bootstrapModal
{% if hackathon %}
document.hackathon = "{{ hackathon.slug | safe }}";

if(location.hostname === 'localhost') $('#network-filter').show();
if(location.hostname === 'gitcoin.co') $('#network-filter').hide();
{% endif %}
</script>
<script src="/dynamic/js/tokens_dynamic.js"></script>
Expand Down

0 comments on commit 61163c0

Please sign in to comment.