mirror of
https://github.com/thelounge/thelounge
synced 2024-11-25 21:40:22 +00:00
Remove jQuery from InlineChannel.vue and JoinChannel.vue.
This commit is contained in:
parent
c393dd1a11
commit
c6dca616e6
2 changed files with 2 additions and 4 deletions
|
@ -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 a new issue