diff options
author | Stan Hu <stanhu@gmail.com> | 2015-07-26 09:52:49 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-07-26 09:54:53 -0700 |
commit | dfe7807653304f2a42369141925733f3c6515488 (patch) | |
tree | 2fd18e63fd0d000fa1d9a1220599e4dcacb2057b /app | |
parent | 4a76cbe21907b92e53b168f3085c19d00be11f0b (diff) | |
download | gitlab-ce-dfe7807653304f2a42369141925733f3c6515488.tar.gz |
Fix live notes refresh in relative URL deployments
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/notes.js.coffee | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee index bcff7bcc49e..0021d17d85e 100644 --- a/app/assets/javascripts/notes.js.coffee +++ b/app/assets/javascripts/notes.js.coffee @@ -10,7 +10,6 @@ class @Notes constructor: (notes_url, note_ids, last_fetched_at, view) -> @notes_url = notes_url - @notes_url = gon.relative_url_root + @notes_url if gon.relative_url_root? @note_ids = note_ids @last_fetched_at = last_fetched_at @view = view |