mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 06:31:52 +00:00
Jump to text when clicking change icon as well
This commit is contained in:
parent
15ad3f4769
commit
9663df3457
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ define [
|
||||||
scope.needsCollapsing = false
|
scope.needsCollapsing = false
|
||||||
|
|
||||||
element.on "click", (e) ->
|
element.on "click", (e) ->
|
||||||
if $(e.target).is('.rp-entry, .rp-entry-description, .rp-entry-body')
|
if $(e.target).is('.rp-entry, .rp-entry-description, .rp-entry-body, .rp-entry-action-icon i')
|
||||||
scope.onBodyClick()
|
scope.onBodyClick()
|
||||||
|
|
||||||
scope.toggleCollapse = () ->
|
scope.toggleCollapse = () ->
|
||||||
|
|
Loading…
Reference in a new issue