php7-mysql-data/Kapitel_7/Lektion_4/wordpress/wp-admin/js/language-chooser.min.js

1 line
374 B
JavaScript
Raw Normal View History

2016-08-16 21:20:53 +02:00
jQuery(function(a){var b=a("#language"),c=a("#language-continue");a("body").hasClass("language-chooser")&&(b.focus().on("change",function(){var a=b.children("option:selected");c.attr({value:a.data("continue"),lang:a.attr("lang")})}),a("form").submit(function(){b.children("option:selected").data("installed")||a(this).find(".step .spinner").css("visibility","visible")}))});