1 line
305 B
JavaScript
1 line
305 B
JavaScript
function plusbutton(e,n){if("undefined"!=typeof e&&("undefined"==typeof n&&(n=null),null!=n)){var t=$(n).find(".select2-container").css("width");$(n).find("select").select2("destroy"),$("#"+e).append($(n).clone().removeClass("template").css("display","block")),$("#"+e).find("select").select2({width:t})}} |