mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 00:25:37 +01:00
8080762e93
This addresses `JQMIGRATE` warnings in some admin files and the Thickbox library. Follow-up to [50001], [50270]. Props bordoni, poena. See #51812. Built from https://develop.svn.wordpress.org/trunk@50367 git-svn-id: http://core.svn.wordpress.org/trunk@49978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
474 B
JavaScript
2 lines
474 B
JavaScript
/*! This file is auto-generated */
|
|
jQuery(document).ready(function(n){n("#link_rel").prop("readonly",!0),n("#linkxfndiv input").on("click keyup",function(){var e=n("#me").is(":checked"),i="";n("input.valinp").each(function(){e?n(this).prop("disabled",!0).parent().addClass("disabled"):(n(this).removeAttr("disabled").parent().removeClass("disabled"),n(this).is(":checked")&&""!==n(this).val()&&(i+=n(this).val()+" "))}),n("#link_rel").val(e?"me":i.substr(0,i.length-1))})}); |