Fixed buffer/caching of own changes.

This commit is contained in:
Martin Edenhofer 2016-06-08 00:11:03 +02:00
parent 8f7452e34b
commit 451a768f8e
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ class App.WidgetLink extends App.Controller
render: => render: =>
return if @lastLinks && _.isEqual(@lastLinks, @links) return if @lastLinks && _.isEqual(@lastLinks, @links)
lastLinks = @links @lastLinks = @links
list = {} list = {}
for item in @links for item in @links
if !list[ item['link_type'] ] if !list[ item['link_type'] ]

View file

@ -45,7 +45,7 @@ class App.WidgetTag extends App.Controller
render: -> render: ->
return if @lastTags && _.isEqual(@lastTags, @tags) return if @lastTags && _.isEqual(@lastTags, @tags)
lastTags = @tags @lastTags = @tags
@html App.view('widget/tag')( @html App.view('widget/tag')(
tags: @tags || [], tags: @tags || [],
) )