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: =>
|
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'] ]
|
||||||
|
|
|
@ -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 || [],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue