mirror of
https://github.com/discourse/discourse-placeholder-theme-component.git
synced 2025-02-17 17:04:53 +00:00
FIX: waits libs (highlightjs) to process post before acting
This commit is contained in:
parent
41408e51fa
commit
b2400e1255
@ -202,6 +202,7 @@
|
|||||||
}, 250)
|
}, 250)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Ember.run.later(() => {
|
||||||
// trigger fake event to setup initial state
|
// trigger fake event to setup initial state
|
||||||
Object.keys(placeholders).forEach(placeholderKey => {
|
Object.keys(placeholders).forEach(placeholderKey => {
|
||||||
const placeholder = placeholders[placeholderKey];
|
const placeholder = placeholders[placeholderKey];
|
||||||
@ -218,5 +219,6 @@
|
|||||||
mappings
|
mappings
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
}, 500);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user