Skip to content
Snippets Groups Projects
Commit 105ca2d9 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Color toggle button now blurs properly after untoggle

parent 58b65dbf
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment