Skip to content

Commit 7a49584

Browse files
author
Karthik
committed
fix hovercard bug
1 parent 4cf4641 commit 7a49584

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”><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>`;
67+
timelineH3.innerHTML = `<strong class=“css-truncate”><a class="author link-gray-dark text-bold" 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)