Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fastnlight0 committed Jan 24, 2024
1 parent 23e3fa8 commit 2327412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ function getCommentText(
let comment = comments?.[commentType] || comments?.low;

if (comment){
let sitename = StackExchange.options.site.name || '';
let siteurl = window.location.hostname;
const sitename = StackExchange.options.site.name || '';
const siteurl = window.location.hostname;

comment = comment.replace(/%SITENAME%/, sitename);
comment = comment.replace(/%SITEURL%/, siteurl);
Expand Down

0 comments on commit 2327412

Please sign in to comment.