Skip to content

Commit 8f2bd5b

Browse files
committed
sync after parsing pre-loaded content
1 parent fa6e628 commit 8f2bd5b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

indigo_app/static/javascript/indigo/views/document.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,9 @@
208208
this.popupManager = new window.indigoAkn.PopupEnrichmentManager(akn);
209209
this.popupManager.addProvider(new window.enrichments.PopupIssuesProvider(this.document.issues, this.popupManager));
210210

211-
// pretend we've fetched it, this sets up additional handlers
212-
this.document.trigger('sync');
213-
214211
// preload content and pretend this document is unchanged
215212
this.documentContent.set('content', Indigo.Preloads.documentContent);
216-
this.documentContent.trigger('sync');
213+
this.document.trigger('sync');
217214

218215
// make menu peers behave like real menus on hover
219216
$('.menu .btn-link').on('mouseover', function(e) {

0 commit comments

Comments
 (0)