Commit 105ca2d9 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Color toggle button now blurs properly after untoggle

parent 58b65dbf
...@@ -60,5 +60,5 @@ $ -> ...@@ -60,5 +60,5 @@ $ ->
.keyup() .keyup()
$('#toggle-colored').on 'click', -> $('#toggle-colored').on 'click', ->
$(@).toggleClass('active') $(@).toggleClass('active').blur()
$('#match').toggleClass('colored') $('#match').toggleClass('colored')
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
{block scripts} {block scripts}
<script type="text/javascript"> <script type="text/javascript">
$('#toggle-colored').click(function() { $('#toggle-colored').click(function() {
$(this).toggleClass('active'); $(this).toggleClass('active').blur();
$('#match').toggleClass('colored'); $('#match').toggleClass('colored');
}); });
</script> </script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment