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 @@ $ ->
.keyup()
$('#toggle-colored').on 'click', ->
$(@).toggleClass('active')
$(@).toggleClass('active').blur()
$('#match').toggleClass('colored')
......@@ -101,7 +101,7 @@
{block scripts}
<script type="text/javascript">
$('#toggle-colored').click(function() {
$(this).toggleClass('active');
$(this).toggleClass('active').blur();
$('#match').toggleClass('colored');
});
</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