Add translations for the markdown preview button title

This commit is contained in:
yflory
2017-05-18 15:05:37 +02:00
parent 51bd41d4e8
commit 620f4dc512
4 changed files with 11 additions and 4 deletions

View File

@@ -158,10 +158,10 @@ define([
});
if ($rightside) { $rightside.append($block); }
cb();
if (cb) { cb(); }
};
exp.configureTheme = function () {
exp.configureTheme = function (cb) {
/* Remember the user's last choice of theme using localStorage */
var themeKey = 'CRYPTPAD_CODE_THEME';
var lastTheme = localStorage.getItem(themeKey) || 'default';
@@ -195,6 +195,7 @@ define([
});
if ($rightside) { $rightside.append($block); }
if (cb) { cb(); }
};
exp.exportText = function () {