Onionr/onionr/static-data/www/chat/js/resizes.js

6 lines
169 B
JavaScript
Raw Normal View History

2019-08-18 20:10:28 +00:00
let doResize = function(){
let chatInput = document.getElementsByClassName('chatInput')[0]
chatInput.style.width = "50%";
}
doResize()
window.onresize = doResize