Skip to content

Commit

Permalink
Hode the button when clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
theapi committed Sep 24, 2014
1 parent 80eecc0 commit 3504533
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/views/Default/index.html.twig
Expand Up @@ -44,7 +44,8 @@ box-shadow: 0px 0px 5px rgba(0,0,0, .75);


<form action="toggle">
<input id="reset" type="submit" value="{{ word }}" />
<input id="reset" type="submit" value="{{ word }}"
onclick="document.getElementById('reset').style.display = 'none';" />
</form>

</body>
Expand Down

0 comments on commit 3504533

Please sign in to comment.