refac
This commit is contained in:
1 parent
3a4b862e81
commit
139e764b2f
45 files changed
+6251
-5730
No files matched your search
@@ -925,7 +925,11 @@
|
||||
}
|
||||
|
||||
// Submit the content when Enter key is pressed
|
||||
if ((content !== '' || files.length > 0) && e.keyCode === 13 && !e.shiftKey) {
|
||||
if (
|
||||
(content !== '' || files.length > 0) &&
|
||||
e.keyCode === 13 &&
|
||||
!e.shiftKey
|
||||
) {
|
||||
submitHandler();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user