JourneyJoker/static/frontend/js/language.js

9 lines
201 B
JavaScript
Raw Normal View History

(function($) {
"use strict";
$("#language").change(function() {
$.get("/api/setlang/" + $(this).val() + "/").done(function() { document.location.reload(); });
});
})(jQuery);