Remove jQuery from InlineChannel.vue and JoinChannel.vue.

This commit is contained in:
Richard Lewis 2019-10-23 06:44:13 +00:00 committed by Pavel Djundik
parent c393dd1a11
commit c6dca616e6
2 changed files with 2 additions and 4 deletions

View file

@ -18,8 +18,7 @@ export default {
);
if (existingChannel) {
const $ = require("jquery");
$(`#sidebar .chan[data-id="${existingChannel.id}"]`).trigger("click");
this.$router.push("chan-" + existingChannel.id);
}
// TODO: Required here because it breaks tests

View file

@ -65,8 +65,7 @@ export default {
);
if (existingChannel) {
const $ = require("jquery");
$(`#sidebar .chan[data-id="${existingChannel.id}"]`).trigger("click");
this.$router.push("chan-" + existingChannel.id);
} else {
const chanTypes = this.network.serverOptions.CHANTYPES;
let channel = this.inputChannel;