fix object destructuring syntax

This commit is contained in:
Devin Howard 2017-01-14 16:11:57 -05:00
parent e2a60be417
commit f3383e8bea

View file

@ -112,7 +112,7 @@ const GlobalUI = {
_notifyUser: function(message, opts = {}) { _notifyUser: function(message, opts = {}) {
const self = GlobalUI const self = GlobalUI
const { leaveOpen: false, timeOut: 8000 } = opts const { leaveOpen = false, timeOut = 8000 } = opts
$('#toast').html(message) $('#toast').html(message)
self.showDiv('#toast') self.showDiv('#toast')