Fixed buffer/caching of own changes.
This commit is contained in:
parent
8f7452e34b
commit
451a768f8e
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ class App.WidgetLink extends App.Controller
|
|||
|
||||
render: =>
|
||||
return if @lastLinks && _.isEqual(@lastLinks, @links)
|
||||
lastLinks = @links
|
||||
@lastLinks = @links
|
||||
list = {}
|
||||
for item in @links
|
||||
if !list[ item['link_type'] ]
|
||||
|
|
|
@ -45,7 +45,7 @@ class App.WidgetTag extends App.Controller
|
|||
|
||||
render: ->
|
||||
return if @lastTags && _.isEqual(@lastTags, @tags)
|
||||
lastTags = @tags
|
||||
@lastTags = @tags
|
||||
@html App.view('widget/tag')(
|
||||
tags: @tags || [],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue