Skip to content

Commit

Permalink
Update twinklexfd.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nardog authored Nov 11, 2023
1 parent 98690bb commit efca3a1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions modules/twinklexfd.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,13 +782,12 @@ Twinkle.xfd.callbacks = {
return params.currentname
.map((currentname, i) => `{{subst:RMassist|1=${currentname}|2=${params.newname[i]}${rmtrDiscuss}|reason=${params.reason}}}`)
.join('\n');
} else {
return `{{subst:Requested move${
params.currentname
.map((currentname, i) => `|current${i + 1}=${currentname}|new${i + 1}=${params.newname[i]}`)
.join('')
}|reason=${params.reason}}}`;
}
return `{{subst:Requested move${
params.currentname
.map((currentname, i) => `|current${i + 1}=${currentname}|new${i + 1}=${params.newname[i]}`)
.join('')
}|reason=${params.reason}}}`;
}

var text = '{{subst:' + venue + '2';
Expand Down

0 comments on commit efca3a1

Please sign in to comment.