Permalink
Browse files

premerge

  • Loading branch information...
yourcelf committed Aug 6, 2010
1 parent 8b71827 commit eef3296112f3850ee5a3a3c073dfdd55fab28a2b
Showing with 1 addition and 2 deletions.
  1. +1 −2 media/js/script.js
View
@@ -316,7 +316,7 @@ var ACRONYMS = [
[/\b(Litter)\b/g, "Stretcher used by medics"],
[/\b(LKG)\b/g, "Lashkar Ghar"],
[/\b(LN)\b/g, "Local national"],
- [/\b(LNs)\b/g, "Local nationals"],
+ [/\b(LNs)\b/gi, "Local nationals"],
[/\b(LNO)\b/g, "Liaison Officer"],
[/\b(LTC)\b/g, "Lieutenant Colonel"],
[/\b(Luna)\b/g, "German drone"],
@@ -493,7 +493,6 @@ function acronyms(string) {
for (var i = 0; i < ACRONYMS.length; i++) {
var re = ACRONYMS[i][0];
var full = ACRONYMS[i][1].replace(/["]/g, "\\\"");
- console.log(full);
string = string.replace(re, "<acronym title=\"" + full + "\">$1</acronym>");
}
return string;

0 comments on commit eef3296

Please sign in to comment.