Make sure settings get saved if the page is unloaded.
This commit is contained in:
parent
8c03495b39
commit
5d1ac14cf5
@ -63,6 +63,7 @@ Settings =
|
|||||||
|
|
||||||
$.on $('.close', dialog), 'click', Settings.close
|
$.on $('.close', dialog), 'click', Settings.close
|
||||||
$.on overlay, 'click', Settings.close
|
$.on overlay, 'click', Settings.close
|
||||||
|
$.on window, 'beforeunload', Settings.close
|
||||||
|
|
||||||
$.add d.body, [overlay, dialog]
|
$.add d.body, [overlay, dialog]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user