Sha256: 56e8fcfc7df9e219a00c034f32f47a43100c56dd255fc40986ecbaaf14f5d26b
Contents?: true
Size: 300 Bytes
Versions: 27
Compression:
Stored size: 300 Bytes
Contents
$(document).on("page:change turbolinks:load",function () { $('select#change_language').on('change',function (e){ var url = window.location.pathname; var delimiter = url.match(/\?/) ? '&' : '?'; Turbolinks.visit(url+delimiter+"language_id="+$(this).val()); }); });
Version data entries
27 entries across 27 versions & 1 rubygems