As we do in the rest of the application. Note we cannot add a rule enforcing double quotes because CoffeeScript Lint does not have such rule.
6 lines
130 B
CoffeeScript
6 lines
130 B
CoffeeScript
App.LocationChanger =
|
|
|
|
initialize: ->
|
|
$(".js-location-changer").on "change", ->
|
|
window.location.assign($(this).val())
|