DG IZ; shift+enter in publisher box submits contents
This commit is contained in:
parent
b9be543ef6
commit
955d9130a2
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,12 @@ $(document).ready(function(){
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$("#publisher textarea").keydown( function(e) {
|
||||||
|
if (e.shiftKey && e.keyCode == 13) {
|
||||||
|
$("#publisher form").submit();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
});//end document ready
|
});//end document ready
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue