From 4b1f9fd4f17e1f0217202408273a23135de54fe6 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 3 Jan 2017 11:49:44 +0100 Subject: [PATCH] Revert "yank dead code" This reverts commit aad442cb201d17daa515d6395376b743203cb1c2. --- customize.dist/main.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/customize.dist/main.js b/customize.dist/main.js index 62c2f0c73..227fa2df3 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -1,5 +1,6 @@ define([ '/customize/messages.js', + //'/customize/DecorateToolbar.js', '/customize/application_config.js', '/common/cryptpad-common.js', '/bower_components/lil-uri/uri.min.js', @@ -138,10 +139,20 @@ define([ $('iframe').attr('style', ''); $tryit.removeAttr('data-localization'); $tryit.text(Messages.recentPadsIframe); + //makeRecentPadsTable(recentPads); } + + /*if (hasRecent) { + $('table').attr('style', ''); + // Race condition here, this is triggered before the localization in HTML + // so we have to remove the data-localization attr + $tryit.removeAttr('data-localization'); + $tryit.text(Messages.recentPads); + }*/ }); }; + displayCreateButtons(); Cryptpad.ready(function () { console.log("ready"); @@ -150,6 +161,7 @@ define([ $tbody = $table.find('tbody'); $tryit = $('#tryit'); + DecorateToolbar.main($('#bottom-bar')); Cryptpad.styleAlerts(); refreshTable();