zeus.ugent.be/content/assets/scripts/search.coffee
Lorin Werthen 137bec8d16
jkqlfd
2017-05-04 01:40:53 +02:00

9 lines
314 B
CoffeeScript

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