diff --git a/customize.dist/index.html b/customize.dist/index.html index cd284d80f..3bfe9d97e 100644 --- a/customize.dist/index.html +++ b/customize.dist/index.html @@ -161,6 +161,13 @@ '/code/': 'Code' }; + var truncateTitle = function (title, len) { + if (title.length > len) { + return title.slice(0, len) + '…'; + } + return title; + }; + var recentPads = Cryptpad.getRecentPads(); recentPads.sort(Cryptpad.mostRecent); @@ -193,8 +200,8 @@ var id = 'pad-'+index; $tbody.append('