Content deleted Content added
m reporter name |
links that log to console |
||
Line 52:
*/
EFFPRH.addReportHandler = function ( $editSectionLinks, reporterName, sectionNum ) {
const $handlerLink = $( '<a>' )
.text( 'Review report' );
$handlerLink.click(
function () {
console.log( 'Should launch for: ', reporterName, sectionNum );
}
);
// Add before the closing ] of the links
$editSectionLinks.children().last().before(
' | ',
$handlerLink
);
};
|