fix object destructuring syntax
This commit is contained in:
parent
e2a60be417
commit
f3383e8bea
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ const GlobalUI = {
|
|||
_notifyUser: function(message, opts = {}) {
|
||||
const self = GlobalUI
|
||||
|
||||
const { leaveOpen: false, timeOut: 8000 } = opts
|
||||
const { leaveOpen = false, timeOut = 8000 } = opts
|
||||
|
||||
$('#toast').html(message)
|
||||
self.showDiv('#toast')
|
||||
|
|
Loading…
Add table
Reference in a new issue