Skip to content

Commit 521e44a

Browse files
committed
Update classnames, closes muan#78
1 parent 808e351 commit 521e44a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

chrome/src/inject/inject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function initOnHashChangeAction(domains) {
5959
var muteURL = url
6060
url = github_links[github_links.length-2].href
6161
muteLink = document.createElement('a')
62-
muteLink.className = 'github-mute T-I J-J5-Ji lS T-I-ax7 ar7'
62+
muteLink.className = 'github-mute T-I J-J5-Ji T-I-Js-Gs mA mw T-I-ax7 L3'
6363
muteLink.innerText = 'Mute thread'
6464
muteLink.href = muteURL
6565

@@ -74,7 +74,7 @@ function initOnHashChangeAction(domains) {
7474
if (url.match(/^(.+\/(issue|pull)\/\d+)/)) url = url.match(/^(.+\/(issue|pull)\/\d+)/)[1]
7575
var link = document.createElement('a')
7676
link.href = url
77-
link.className = 'github-link T-I J-J5-Ji lS T-I-ax7 ar7'
77+
link.className = 'github-link T-I J-J5-Ji T-I-Js-Gs mA mw T-I-ax7 L3'
7878
link.target = '_blank'
7979
link.innerText = 'View on GitHub'
8080

firefox/src/inject/inject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function initOnHashChangeAction(domains) {
5656
var muteURL = url
5757
url = github_links[github_links.length-2].href
5858
muteLink = document.createElement('a')
59-
muteLink.className = 'github-mute T-I J-J5-Ji lS T-I-ax7 ar7'
59+
muteLink.className = 'github-mute T-I J-J5-Ji T-I-Js-Gs mA mw T-I-ax7 L3'
6060
muteLink.innerText = 'Mute thread'
6161
muteLink.href = muteURL
6262

@@ -71,7 +71,7 @@ function initOnHashChangeAction(domains) {
7171
if (url.match(/^(.+\/(issue|pull)\/\d+)/)) url = url.match(/^(.+\/(issue|pull)\/\d+)/)[1]
7272
var link = document.createElement('a')
7373
link.href = url
74-
link.className = 'github-link T-I J-J5-Ji lS T-I-ax7 ar7'
74+
link.className = 'github-link T-I J-J5-Ji T-I-Js-Gs mA mw T-I-ax7 L3'
7575
link.target = '_blank'
7676
link.innerText = 'View on GitHub'
7777

0 commit comments

Comments
 (0)