Skip to content

Commit

Permalink
Populate the form with an example on load
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Sep 28, 2016
1 parent 281ad9c commit 16c1948
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions memegen/templates/magic.html
Expand Up @@ -43,4 +43,8 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="static/js/magic.js"></script>

<script>
$('#meme-text').val("try all the phrases");
$('#btn-generate').click();
</script>
{% endblock %}

0 comments on commit 16c1948

Please sign in to comment.