zeus.ugent.be/content/assets/scripts/search.coffee
2016-11-02 14:13:22 +01:00

10 lines
315 B
CoffeeScript

$ ->
$('#tipue_search_input_field').focusin ->
$('#tipue_search_input').addClass("focused")
$('#tipue_search_input_field').focusout ->
$('#tipue_search_input').removeClass("focused")
$('.nav-toggle').click ->
$('.nav-menu').toggleClass('is-active')
$('.nav-toggle').toggleClass('is-active')