lint compliance

This commit is contained in:
ansuz
2017-07-12 10:54:24 +02:00
parent 3453e54357
commit 0483d15b8f
3 changed files with 5 additions and 11 deletions

View File

@@ -173,13 +173,13 @@ define([
console.log(name);
console.log("Creating invite button");
var $button = $("<button>", {
$("<button>", {
id: CREATE_INVITE_BUTTON,
title: Messages.profile_inviteButtonTitle,
})
.addClass('btn btn-success')
.text(Messages.profile_inviteButton)
.click(function (e) {
.click(function () {
Cryptpad.confirm(Messages._getKey('profile_inviteExplanation', [name]), function (yes) {
if (!yes) { return; }
console.log(obj.curveKey);