提交 7a4d7285 编写于 作者: P Phil Hughes

Blurs the clicked link in dropdown menus

This fixes an issue where the dropdown menu would stay visible even when clicked out of it
上级 4e898b9b
......@@ -250,6 +250,8 @@ class GitLabDropdown
if self.options.clicked
self.options.clicked(selected, $el, e)
$el.trigger('blur')
# Finds an element inside wrapper element
getElement: (selector) ->
@dropdown.find selector
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册