increasing truncate_addy to 8

This commit is contained in:
Sander Ferdinand 2018-10-26 00:00:09 +02:00
parent c1594fd4b4
commit 9341375d66
No known key found for this signature in database
GPG key ID: 7BBC83D7A8810AAB

View file

@ -225,7 +225,7 @@
let regexp_address = /(W[o|W][a-zA-Z0-9]{95})/g;
let regexp_imgur = /(https:\/\/i.imgur.com\/[a-zA-Z0-9]{0,7}.[jpg|png|gif|webm]+)/g;
let regexp_imgflip = /(https:\/\/i.imgflip.com\/[a-zA-Z0-9]{0,7}.[jpg|png|gif|webm]+)/g;
let truncated_addy = function(obj){ return `<span data-addy="${obj}" class="wow_addy">${obj.substring(0, 4)}...${obj.slice(-4)}</span>`; }
let truncated_addy = function(obj){ return `<span data-addy="${obj}" class="wow_addy">${obj.substring(0, 8)}...${obj.slice(-8)}</span>`; }
function rich_addy(obj) {
// richtext addy's