14 lines
550 B
CoffeeScript
14 lines
550 B
CoffeeScript
$ ->
|
|
$('.milestone-issue-filter li[data-closed]').addClass('hide')
|
|
|
|
$('.milestone-issue-filter ul.nav li a').click ->
|
|
$('.milestone-issue-filter li').toggleClass('active')
|
|
$('.milestone-issue-filter li[data-closed]').toggleClass('hide')
|
|
false
|
|
|
|
$('.milestone-merge-requests-filter li[data-closed]').addClass('hide')
|
|
|
|
$('.milestone-merge-requests-filter ul.nav li a').click ->
|
|
$('.milestone-merge-requests-filter li').toggleClass('active')
|
|
$('.milestone-merge-requests-filter li[data-closed]').toggleClass('hide')
|
|
false
|