Remove unnecessary TODOs
This commit is contained in:
@@ -646,7 +646,7 @@ define([
|
||||
'style': 'font-family: FontAwesome; font-weight: bold; color: #fff; background: #000;',
|
||||
title: Messages.colorButtonTitle
|
||||
});
|
||||
var $testColor = $('<input>', { type: 'color', value: '!' });
|
||||
var $testColor = $('<input>', { type: 'color', value: '!' });
|
||||
var $check = $pad.contents().find("#colorPicker_check");
|
||||
if ($testColor.attr('type') !== "color" || $testColor.val() === '!') { return; }
|
||||
$back.on('click', function() {
|
||||
@@ -908,7 +908,6 @@ define([
|
||||
|
||||
var interval = 100;
|
||||
|
||||
var second = function (CM) {
|
||||
var second = function (CM) {
|
||||
Cryptpad.ready(function (err, env) {
|
||||
andThen(CM);
|
||||
@@ -921,7 +920,6 @@ define([
|
||||
};
|
||||
|
||||
var first = function () {
|
||||
if (ifrw.CodeMirror) {
|
||||
if (ifrw.CodeMirror) {
|
||||
// it exists, call your continuation
|
||||
second(ifrw.CodeMirror);
|
||||
|
||||
Reference in New Issue
Block a user