mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Enable enter key on share dialog button
This commit is contained in:
parent
276241495b
commit
a9042ff324
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
|
||||||
button.btn.btn-info(
|
button.btn.btn-info(
|
||||||
type="submit"
|
type="submit"
|
||||||
ng-mousedown="addMembers()"
|
ng-mousedown="addMembers()"
|
||||||
|
ng-keyup="$event.keyCode == 13 ? addMembers() : null"
|
||||||
) #{translate("share")}
|
) #{translate("share")}
|
||||||
div(ng-hide="canAddCollaborators")
|
div(ng-hide="canAddCollaborators")
|
||||||
p.text-center #{translate("need_to_upgrade_for_more_collabs")}. Also:
|
p.text-center #{translate("need_to_upgrade_for_more_collabs")}. Also:
|
||||||
|
|
Loading…
Reference in a new issue