diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-01 10:21:57 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-01 10:21:57 +0100 |
commit | d6e724d90fd8a5fd93ef1f4963e22ccaf29b06de (patch) | |
tree | e29d50c12afb5036a356f2a541a028cf7b90df49 /app/assets/javascripts/notes.js | |
parent | f65d8eb3261f717340a8e8fd8a3fe65bd9fd2c20 (diff) | |
download | gitlab-ce-d6e724d90fd8a5fd93ef1f4963e22ccaf29b06de.tar.gz |
Moved method to compile components from window into diffnotesapp
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 3c93d86994d..ab169d04804 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -300,8 +300,8 @@ discussionContainer.append(note_html); } - if (compileVueComponentsForDiffNotes) { - compileVueComponentsForDiffNotes(); + if (DiffNotesApp) { + DiffNotesApp.compileComponents(); } gl.utils.localTimeAgo($('.js-timeago', note_html), false); @@ -429,8 +429,8 @@ $note_li.replaceWith($html); - if (compileVueComponentsForDiffNotes) { - compileVueComponentsForDiffNotes(); + if (DiffNotesApp) { + DiffNotesApp.compileComponents(); } }; |