MediaWiki:Gadget-resign-calculator.js: Difference between revisions

Drop add-a-year, 35 or older, copy on new-topic click
Drop the term/years note
Line 243: Line 243:
lines.push( money( r.salary ) + ' (' + endYear + ')' );
lines.push( money( r.salary ) + ' (' + endYear + ')' );
out.appendChild( postBlock( lines.join( '\n' ) ) );
out.appendChild( postBlock( lines.join( '\n' ) ) );
var note = document.createElement( 'div' );
note.className = 'tc-calc-note';
note.textContent = years + ' years, ' + first + ' through ' + endYear + '.';
out.appendChild( note );
}
}