Commit 96e19ea7 authored by Pierre M's avatar Pierre M
Browse files

only display alias if different from user registered name

Signed-off-by: Pierre M's avatarPierre Mazière <>
parent ed77dd6d
...@@ -85,7 +85,10 @@ ...@@ -85,7 +85,10 @@
let button = document.createElement("button"); let button = document.createElement("button");
button.setAttribute("id","plonkAdd"); button.setAttribute("id","plonkAdd");
button.appendChild(document.createTextNode("Plonker '"+user+"' alias '"+alias+"'")); button.appendChild(document.createTextNode("Plonker '"+user+"'"));
if( user !== alias ){
button.appendChild(document.createTextNode("' alias '"+alias+"'"));
button.addEventListener("click",function(){plonk(user,alias);},true); button.addEventListener("click",function(){plonk(user,alias);},true);
let p = document.createElement("p"); let p = document.createElement("p");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment