feathermost/js/main.js
2020-03-31 16:56:06 +02:00

10 lines
522 B
JavaScript

"use strict";
byId("server_selection_add").addEventListener("click", e => { e.stopPropagation(); e.preventDefault(); window.location = "#login"; return false; });
byId("login").addEventListener("submit", e => { logIn(); e.stopPropagation(); e.preventDefault(); return false; });
byId("login_no_button").addEventListener("click", e => { e.stopPropagation(); e.preventDefault(); window.location = "#"; return false; });
updateComposeHeight();
checkScrolledToBottom();
populateServerSelectionList();
populateChannelList();