mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02:00
move when template publish status is refreshed to avoid loop
This commit is contained in:
@@ -180,6 +180,8 @@ define [
|
||||
@model = @ide.project
|
||||
_.bindAll(this, "render");
|
||||
this.model.bind('change', this.render)
|
||||
@refreshPublishStatus()
|
||||
|
||||
|
||||
render: ->
|
||||
viewModel =
|
||||
@@ -191,7 +193,6 @@ define [
|
||||
$(@el).html $(Mustache.to_html(@template, viewModel))
|
||||
@publishedArea = $('#publishedAsTemplateArea')
|
||||
@unpublishedArea = $('#unpublishedAsTemplateArea')
|
||||
@refreshPublishStatus()
|
||||
|
||||
|
||||
refreshPublishStatus: ->
|
||||
|
||||
Reference in New Issue
Block a user