thelounge/client/js/commands/collapse.js

9 lines
156 B
JavaScript
Raw Normal View History

"use strict";
const $ = require("jquery");
exports.input = function() {
$(".chan.active .toggle-button.toggle-preview.opened").click();
return true;
};