lint compliance

pull/1/head
yflory 6 years ago
parent e6743887fc
commit 9e27f111cb

@ -196,7 +196,7 @@
& > div {
padding: 0 10px;
}
.cp-app-contacts-content {
.cp-app-contacts-content {
overflow: hidden;
word-wrap: break-word;
&> * {
@ -234,7 +234,7 @@
resize: none;
overflow-y: auto;
.placeholder(#bbb);
&[disabled=true] {
&[disabled="true"] {
.placeholder(#999);
}
}

@ -413,7 +413,7 @@ Messenger, MessengerUI, Messages) {
return $container;
};
var initChat = function (toolbar, config) {
var initChat = function (toolbar) {
var $container = $('<div>', {id: 'cp-app-contacts-container'})
.prependTo(toolbar.chatContent);
var sframeChan = Common.getSframeChannel();

@ -41,7 +41,6 @@ define([
$container.addClass('cp-app-contacts-initializing');
var spinner = '<span class="fa fa-spinner fa-pulse fa-4x fa-fw"></span>';
var messaging = h('div#cp-app-contacts-messaging', [
h('span.fa.fa-spinner.fa-pulse.fa-4x.fa-fw.cp-app-contacts-spinner'),
h('div.cp-app-contacts-info', [
@ -210,7 +209,6 @@ define([
$(removeHistory).click(function () {
// XXX
console.error("TODO: only display clear button if owned");
return;
UI.confirm(Messages.contacts_confirmRemoveHistory, function (yes) {
if (!yes) { return; }
@ -607,8 +605,9 @@ define([
$messages.find(userQuery(curvePublic)).remove();
if (channel && channel.curvePublic === curvePublic) {
showInfo();
}
if (!removedByMe) {
// TODO UI.alert if this is triggered by the other guy
// (we need more data on the 'unfriend' event to determine its origin)
}
});

Loading…
Cancel
Save