AyuntamientoMadrid/participacion

View on GitHub
app/assets/javascripts/location_changer.js

Summary

Maintainability
A
35 mins
Test Coverage
(function() {
  "use strict";
  App.LocationChanger = {
    initialize: function() {
      $(".js-location-changer").on("change", function() {
        window.location.assign($(this).val());
      });
    }
  };
}).call(this);