From: Zach Copley Date: Wed, 16 Mar 2011 06:58:45 +0000 (-0700) Subject: Extended profile - hide add button when not needed (regression) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d51625ab3ddc26a8819c3eb0e1682b4767ca057f;p=quix0rs-gnu-social.git Extended profile - hide add button when not needed (regression) --- diff --git a/plugins/ExtendedProfile/js/profiledetail.js b/plugins/ExtendedProfile/js/profiledetail.js index fbcefe730d..7960cee83f 100644 --- a/plugins/ExtendedProfile/js/profiledetail.js +++ b/plugins/ExtendedProfile/js/profiledetail.js @@ -5,6 +5,7 @@ SN_EXTENDED.reorder = function(cls) { var divs = $('div[class=' + cls + ']'); $(divs).each(function(i, div) { + $(div).find('a.add_row').hide(); $(div).find('a.remove_row').show(); SN_EXTENDED.replaceIndex(SN_EXTENDED.rowIndex(div), i); });