Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thabotitus committed Jul 14, 2020
1 parent 2f04510 commit c3e50aa
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 44 deletions.
4 changes: 2 additions & 2 deletions docs/css/jca-ui-kit.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/custom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/js/jca-ui-kit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions src/js/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

import * as $ from 'jquery';
import * as GeminiScrollbar from 'gemini-scrollbar';
import 'imask';
import './vendor/jquery.datatables.net.min.js';
import 'prismjs';
import 'clipboard';
import "imask";
import "./vendor/jquery.datatables.net.min.js";
import "prismjs";
import "clipboard";

(function(){
const JCA = {};
Expand Down Expand Up @@ -59,18 +59,18 @@ import 'clipboard';
};

JCA.initializeConversations = () => {
$('.jca-conversation__input textarea')
$(".jca-conversation__input textarea")
.focus((context) => {
$(context.currentTarget)
.closest('.jca-conversation__viewport')
.addClass('jca-conversation--reply-mode');
.closest(".jca-conversation__viewport")
.addClass("jca-conversation--reply-mode");
});

$('[data-reply-mode="cancel"')
$("[data-reply-mode='cancel'")
.click((context) => {
$(context.currentTarget)
.closest('.jca-conversation__viewport')
.removeClass('jca-conversation--reply-mode');
.closest(".jca-conversation__viewport")
.removeClass("jca-conversation--reply-mode");
});

};
Expand Down
Loading

0 comments on commit c3e50aa

Please sign in to comment.