diff --git a/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js b/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js index cbf20e8561..d974fe54a3 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js +++ b/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js @@ -321,7 +321,7 @@ _handleQuote: function(e) { e.preventDefault(); - this.fire( 'create-reply-comment', this._getEventPayload({quote: true}), + this.fire('create-reply-comment', this._getEventPayload({quote: true}), {bubbles: false}); }, diff --git a/polygerrit-ui/app/scripts/util.js b/polygerrit-ui/app/scripts/util.js index ff518e5f54..76c8493c9d 100644 --- a/polygerrit-ui/app/scripts/util.js +++ b/polygerrit-ui/app/scripts/util.js @@ -57,13 +57,13 @@ /** * Truncates URLs to display filename only - * @example + * Example * // returns '.../text.html' * util.truncatePath.('dir/text.html'); - * @example + * Example * // returns 'text.html' * util.truncatePath.('text.html'); - * @returns {String} Returns the truncated value of a URL. + * @return {String} Returns the truncated value of a URL. */ util.truncatePath = function(path) { var pathPieces = path.split('/');