diff options
Diffstat (limited to 'javascripts/dashing.coffee')
-rw-r--r-- | javascripts/dashing.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascripts/dashing.coffee b/javascripts/dashing.coffee index fa677e8..e5875d8 100644 --- a/javascripts/dashing.coffee +++ b/javascripts/dashing.coffee @@ -109,8 +109,8 @@ source.addEventListener 'message', (e) -> if lastEvents[data.id]?.updatedAt != data.updatedAt if Dashing.debugMode console.log("Received data for #{data.id}", data) - lastEvents[data.id] = data if widgets[data.id]?.length > 0 + lastEvents[data.id] = data for widget in widgets[data.id] widget.receiveData(data) |