Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #272 from Wikia/XW-4268-injectAds
Browse files Browse the repository at this point in the history
XW-4268 | change observer from init to didInsertElement
  • Loading branch information
rybmat authored Nov 22, 2017
2 parents c3e587a + 3e0e224 commit 732434f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/article-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default Component.extend(
isPreview: false,
media: null,

articleContentObserver: on('init', observer('content', function () {
articleContentObserver: on('didInsertElement', observer('content', function () {
// Our hacks don't work in FastBoot, so we just inject raw HTML in the template
if (this.get('isFastBoot')) {
return;
Expand Down

0 comments on commit 732434f

Please sign in to comment.