History

Use an SVG icon for "dir" and "path" icons

Thibaut Courouble committed 9 years ago

Commit bda32901 parent 68c030817 files · +31 −35Browse files

Showing the changes to assets/javascripts/views (1 of 17 files). Show all

Unified · Split

assets/javascripts/views/list/list_fold.coffee+1−0
@@ -55,6 +55,7 @@ class app.views.ListFold extends app.View · 54 unmodified lines
5555 return if event.which isnt 1 or event.metaKey or event.ctrlKey
5656 return unless event.pageY # ignore fabricated clicks
5757 el = event.target
58+ el = el.parentElement if el.parentElement.tagName.toUpperCase() is 'SVG'
5859
5960 if el.classList.contains @constructor.handleClass
6061 $.stopEvent(event)