mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 22:59:19 +10:00
Merge branch 'button-focus-state' into 'master'
Blur button tags when pressed to remove the focus state. ## Before  ## After  See merge request !4418
This commit is contained in:
@@ -226,6 +226,10 @@ $ ->
|
||||
form = btn.closest("form")
|
||||
new ConfirmDangerModal(form, text)
|
||||
|
||||
|
||||
$(document).on 'click', 'button', ->
|
||||
$(this).blur()
|
||||
|
||||
$('input[type="search"]').each ->
|
||||
$this = $(this)
|
||||
$this.attr 'value', $this.val()
|
||||
|
||||
Reference in New Issue
Block a user