diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-08-23 22:08:18 +0300 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-08-23 22:45:29 +0300 |
commit | a60c1fc4f8e315d82fddf157b5f4790ed8409d1e (patch) | |
tree | fd1aca12fc12e0c062b0748fe7b003170449dadd /app/assets | |
parent | 2473dade6ad4844c1f936bda3338bdc8a45fbdc0 (diff) |
Added unfold test to parallel and added 'diff discussion' context
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/files_comment_button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/files_comment_button.js b/app/assets/javascripts/files_comment_button.js index 817d38ea86e..3fb3b1a8b51 100644 --- a/app/assets/javascripts/files_comment_button.js +++ b/app/assets/javascripts/files_comment_button.js @@ -125,7 +125,7 @@ }; FilesCommentButton.prototype.validateLineContent = function(lineContentElement) { - return lineContentElement.attr('data-note-type') && lineContentElement.attr('data-note-type') !== ''; + return lineContentElement.attr('data-discussion-id') && lineContentElement.attr('data-discussion-id') !== ''; }; return FilesCommentButton; |