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
55 return if event.which isnt 1 or event.metaKey or event.ctrlKey55 return if event.which isnt 1 or event.metaKey or event.ctrlKey
56 return unless event.pageY # ignore fabricated clicks56 return unless event.pageY # ignore fabricated clicks
57 el = event.target57 el = event.target
58 el = el.parentElement if el.parentElement.tagName.toUpperCase() is 'SVG'
58 59
59 if el.classList.contains @constructor.handleClass60 if el.classList.contains @constructor.handleClass
60 $.stopEvent(event)61 $.stopEvent(event)