diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index 35b964da..bee1bb1f 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -117,3 +117,8 @@ function setupWallPostInputHandlers(id) { // textArea.style.height = (newHeight > originalHeight ? (newHeight + boost) : originalHeight) + "px"; }); } + +u("#write > form").on("keydown", function(event) { + if(event.ctrlKey && event.keyCode === 13) + this.submit(); +});