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) {
|
||||
const $ = require("jquery");
|
||||
$(`#sidebar .chan[data-id="${existingChannel.id}"]`).trigger("click");
|
||||
this.$router.push("chan-" + existingChannel.id);
|
||||
}
|
||||
|
||||
// TODO: Required here because it breaks tests
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user