Fix settings not being saved on Esc. #264
This commit is contained in:
parent
0461c2607e
commit
f2cb2c62f9
@ -64,6 +64,8 @@ Settings =
|
|||||||
|
|
||||||
close: ->
|
close: ->
|
||||||
return unless Settings.dialog
|
return unless Settings.dialog
|
||||||
|
# Unfocus current field to trigger change event.
|
||||||
|
d.activeElement?.blur()
|
||||||
$.rm Settings.overlay
|
$.rm Settings.overlay
|
||||||
$.rm Settings.dialog
|
$.rm Settings.dialog
|
||||||
delete Settings.overlay
|
delete Settings.overlay
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user