Skip to content

Commit 020a36b

Browse files
00karthikKarthik
and
Karthik
authored
Add popup on hover profile link (#52)
Co-authored-by: Karthik <[email protected]>
1 parent d0d6c04 commit 020a36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/noteBox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function createCommentBox(noteDetail) {
6464
timelineWrapper.append(timeLineAction);
6565
const timelineH3 = document.createElement('h3');
6666
timelineH3.classList = ['timeline-comment-header-text f5 text-normal'];
67-
timelineH3.innerHTML = `<strong class="css-truncate expandable"><a class="author text-inherit css-truncate-target">${userName}</a></strong>`;
67+
timelineH3.innerHTML = `<strong class=css-truncate><a class=author link-gray-dark css-truncate-target width-fit” show_full_name=“false” data-hovercard-type=“user” data-hovercard-url=“/users/${userName}/hovercard” data-octo-click=“hovercard-link-click” data-octo-dimensions=“link_type:self” href=“/${userName}>${userName}</a></strong>`;
6868
const timestamp = document.createElement('span');
6969
timestamp.classList = ['timestamp js-timestamp'];
7070

0 commit comments

Comments
 (0)