Sha256: 39cfed00b2dea07ac85a5c6f535c2dff37b12517010aab2573d14c1162ce0b3d
Contents?: true
Size: 453 Bytes
Versions: 8
Compression:
Stored size: 453 Bytes
Contents
$(document).on 'ready', -> $('.filter .state-toggle').on 'change', -> active_states = $('.filter :checked') param_string = "?" active_states.each (_, state) -> param_string += "states[]=" + $(state).attr('id') + "&" window.location.href = window.location.href.replace( /[\?#].*|$/, param_string ); $('.panel a').on 'click', -> $('i', this).toggleClass('fa-plus-square-o') $('i', this).toggleClass('fa-minus-square-o')
Version data entries
8 entries across 8 versions & 1 rubygems