Permalink
Browse files

Remove the extra newline character at /recent

  • Loading branch information...
1 parent 4cc1d66 commit d164ffa4d280009f046927eb7611122f082e107d @theopolisme theopolisme committed Sep 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ffu.js
View
@@ -325,7 +325,7 @@ function afcHelper_ffu_performActions() {
var lastentry = recentpagetext.toLowerCase().lastIndexOf("| file:");
var firstentry = recentpagetext.toLowerCase().indexOf("| file:");
recentpagetext = recentpagetext.substring(0, lastentry);
- recentpagetext = recentpagetext.substring(0, firstentry) + newentry + recentpagetext.substring(firstentry) + '\n}}';
+ recentpagetext = recentpagetext.substring(0, firstentry) + newentry + recentpagetext.substring(firstentry) + '}}';
afcHelper_editPage("Wikipedia:Files for upload/recent", recentpagetext, 'Updating recently uploaded FFUs', false);
}
} else if (sub_m.action == 'decline') {

0 comments on commit d164ffa

Please sign in to comment.