lint compliance

pull/1/head
ansuz 7 years ago
parent 263c2eb2c2
commit 85003f7a23

@ -1410,13 +1410,14 @@ define([
.click(prepareFeedback(type)) .click(prepareFeedback(type))
.click(function () { .click(function () {
// TODO fetch pad tags before presenting dialog to user // TODO fetch pad tags before presenting dialog to user
var dialog = Cryptpad.dialog.tagPrompt([], function (tags) { var dialog = UI.dialog.tagPrompt([], function (tags) {
if (!Array.isArray(tags)) { return; } if (!Array.isArray(tags)) { return; }
console.error(tags); console.error(tags);
// TODO do something with the tags the user entered // TODO do something with the tags the user entered
}); });
document.body.appendChild(dialog); document.body.appendChild(dialog);
}); });
break;
default: default:
button = $('<button>', { button = $('<button>', {
'class': "fa fa-question", 'class': "fa fa-question",

Loading…
Cancel
Save