Remove jQuery from InlineChannel.vue and JoinChannel.vue.
This commit is contained in:
parent
c393dd1a11
commit
c6dca616e6
@ -18,8 +18,7 @@ export default {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (existingChannel) {
|
if (existingChannel) {
|
||||||
const $ = require("jquery");
|
this.$router.push("chan-" + existingChannel.id);
|
||||||
$(`#sidebar .chan[data-id="${existingChannel.id}"]`).trigger("click");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Required here because it breaks tests
|
// TODO: Required here because it breaks tests
|
||||||
|
@ -65,8 +65,7 @@ export default {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (existingChannel) {
|
if (existingChannel) {
|
||||||
const $ = require("jquery");
|
this.$router.push("chan-" + existingChannel.id);
|
||||||
$(`#sidebar .chan[data-id="${existingChannel.id}"]`).trigger("click");
|
|
||||||
} else {
|
} else {
|
||||||
const chanTypes = this.network.serverOptions.CHANTYPES;
|
const chanTypes = this.network.serverOptions.CHANTYPES;
|
||||||
let channel = this.inputChannel;
|
let channel = this.inputChannel;
|
||||||
|
Loading…
Reference in New Issue
Block a user