Remove unused "inactive" class from inbox view
This commit is contained in:
parent
9120266acd
commit
14b42f0f11
2 changed files with 0 additions and 51 deletions
|
@ -13530,27 +13530,6 @@
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
"updated": "2021-09-15T21:07:50.995Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"rule": "jQuery-$(",
|
|
||||||
"path": "ts/views/inbox_view.js",
|
|
||||||
"line": " if (e && this.$(e.target).closest('.placeholder').length) {",
|
|
||||||
"reasonCategory": "usageTrusted",
|
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule": "jQuery-$(",
|
|
||||||
"path": "ts/views/inbox_view.js",
|
|
||||||
"line": " this.$('#header, .gutter').addClass('inactive');",
|
|
||||||
"reasonCategory": "usageTrusted",
|
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule": "jQuery-$(",
|
|
||||||
"path": "ts/views/inbox_view.js",
|
|
||||||
"line": " this.$('.conversation-stack').removeClass('inactive');",
|
|
||||||
"reasonCategory": "usageTrusted",
|
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "ts/views/inbox_view.js",
|
"path": "ts/views/inbox_view.js",
|
||||||
|
@ -13649,27 +13628,6 @@
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
"updated": "2021-09-15T21:07:50.995Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"rule": "jQuery-$(",
|
|
||||||
"path": "ts/views/inbox_view.ts",
|
|
||||||
"line": " if (e && this.$(e.target).closest('.placeholder').length) {",
|
|
||||||
"reasonCategory": "usageTrusted",
|
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule": "jQuery-$(",
|
|
||||||
"path": "ts/views/inbox_view.ts",
|
|
||||||
"line": " this.$('#header, .gutter').addClass('inactive');",
|
|
||||||
"reasonCategory": "usageTrusted",
|
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule": "jQuery-$(",
|
|
||||||
"path": "ts/views/inbox_view.ts",
|
|
||||||
"line": " this.$('.conversation-stack').removeClass('inactive');",
|
|
||||||
"reasonCategory": "usageTrusted",
|
|
||||||
"updated": "2021-09-15T21:07:50.995Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "ts/views/inbox_view.ts",
|
"path": "ts/views/inbox_view.ts",
|
||||||
|
|
|
@ -115,7 +115,6 @@ Whisper.InboxView = Whisper.View.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
this.conversation_stack.open(conversation, messageId);
|
this.conversation_stack.open(conversation, messageId);
|
||||||
this.focusConversation();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
window.Whisper.events.on('showSafetyNumberInConversation', id => {
|
window.Whisper.events.on('showSafetyNumberInConversation', id => {
|
||||||
|
@ -217,14 +216,6 @@ Whisper.InboxView = Whisper.View.extend({
|
||||||
searchInput?.focus?.();
|
searchInput?.focus?.();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
focusConversation(e: MouseEvent) {
|
|
||||||
if (e && this.$(e.target).closest('.placeholder').length) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.$('#header, .gutter').addClass('inactive');
|
|
||||||
this.$('.conversation-stack').removeClass('inactive');
|
|
||||||
},
|
|
||||||
closeRecording(e: MouseEvent) {
|
closeRecording(e: MouseEvent) {
|
||||||
if (e && this.$(e.target).closest('.capture-audio').length > 0) {
|
if (e && this.$(e.target).closest('.capture-audio').length > 0) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue