WebContent/js/edit/account.js
/**
 * Toggles the plus-minus text of the "+ add new" website button
 */
Toggles the plus-minus text of the "+ add new" website button
Toggles the plus - minus text of the " + add new " website button
function togglePlusMinus(addSiteButton) {
	if ($(addSiteButton).children('span:first-child').text() == "+") {
		$(addSiteButton).children('span:first-child').text("-");
	} else {
		$(addSiteButton).children('span:first-child').text("+");
	}
}
function togglePlusMinus ( addSiteButton ) { if ( $ ( addSiteButton ) . children ( 'span:first-child' ) . text ( ) == "+" ) { $ ( addSiteButton ) . children ( 'span:first-child' ) . text ( "-" ) ; } else { $ ( addSiteButton ) . children ( 'span:first-child' ) . text ( "+" ) ; } }
Toggles the plus-minus text of the "+ add new" website button
Toggles the plus - minus text of the " + add new " website button