Skip to content

Commit e75fcb0

Browse files
committed
Update altered tooltip selectors
1 parent 6c4679c commit e75fcb0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/github-custom-global-navigation.user.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -810,8 +810,6 @@
810810
firstElement.parentNode.insertBefore(secondElementClone, firstElement.nextElementSibling);
811811
}
812812

813-
// debugger;
814-
815813
if (firstElementSelector.includes('clone')) {
816814
firstElement.remove();
817815
}
@@ -1390,8 +1388,6 @@
13901388
function flipCreateInbox() {
13911389
log(DEBUG, 'flipCreateInbox()');
13921390

1393-
// debugger;
1394-
13951391
cloneAndFlipElements(
13961392
createId(SELECTORS.create.id),
13971393
createId(SELECTORS.notifications.id),
@@ -2110,10 +2106,10 @@
21102106
tooltip => tooltip.textContent.includes('Create new'),
21112107
),
21122108
pullRequests: toolTips.find(
2113-
tooltip => tooltip.textContent.includes('Pull requests'),
2109+
tooltip => tooltip.textContent.includes('Your pull requests'),
21142110
),
21152111
issues: toolTips.find(
2116-
tooltip => tooltip.textContent.includes('Issues'),
2112+
tooltip => tooltip.textContent.includes('Your issues'),
21172113
),
21182114
notifications: toolTips.find(
21192115
tooltip => tooltip.getAttribute('data-target') === 'notification-indicator.tooltip',

0 commit comments

Comments
 (0)