bad code, lint

pull/1/head
Caleb James DeLisle 7 years ago
parent 190dff1c9b
commit fe03e6ae83

@ -29,7 +29,7 @@ define(['/common/cryptpad-common.js'], function (Cryptpad) {
if (anchor) { if (anchor) {
var href = anchor.getAttribute('href'); var href = anchor.getAttribute('href');
if (href) { if (href) {
var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href); var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href);
window.open(bounceHref); window.open(bounceHref);
} }
} }

@ -176,6 +176,7 @@ define([
sframeChan.on('Q_SEND_FRIEND_REQUEST', function (netfluxId, cb) { sframeChan.on('Q_SEND_FRIEND_REQUEST', function (netfluxId, cb) {
Cryptpad.inviteFromUserlist(Cryptpad, netfluxId); Cryptpad.inviteFromUserlist(Cryptpad, netfluxId);
cb();
}); });
Cryptpad.onFriendRequest = function (confirmText, cb) { Cryptpad.onFriendRequest = function (confirmText, cb) {
sframeChan.query('Q_INCOMING_FRIEND_REQUEST', confirmText, function (err, data) { sframeChan.query('Q_INCOMING_FRIEND_REQUEST', confirmText, function (err, data) {

Loading…
Cancel
Save