|
@ -436,6 +436,11 @@ function sortMilestonesByClosestDueDate() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function init() { |
|
|
function init() { |
|
|
|
|
|
const username = getUsername(); |
|
|
|
|
|
if (!username) { |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (select.exists('html.refined-github')) { |
|
|
if (select.exists('html.refined-github')) { |
|
|
console.count('Refined GitHub was loaded multiple times: https://github.com/sindresorhus/refined-github/issues/479'); |
|
|
console.count('Refined GitHub was loaded multiple times: https://github.com/sindresorhus/refined-github/issues/479'); |
|
|
return; |
|
|
return; |
|
@ -495,7 +500,9 @@ async function onDomReady() { |
|
|
|
|
|
|
|
|
markUnread.setup(); |
|
|
markUnread.setup(); |
|
|
|
|
|
|
|
|
moveMarketplaceLinkToProfileDropdown(); |
|
|
if (!pageDetect.isGist()) { |
|
|
|
|
|
moveMarketplaceLinkToProfileDropdown(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (pageDetect.isGist()) { |
|
|
if (pageDetect.isGist()) { |
|
|
addGistCopyButton(); |
|
|
addGistCopyButton(); |
|
|