diff options
author | 2021-06-01 14:40:34 -0400 | |
---|---|---|
committer | 2021-06-01 14:40:34 -0400 | |
commit | addd5ab1bce675fbebfbd373569eb2333b49b95e (patch) | |
tree | ba512fac3cdbd7b5c415b2c27bb2227ca07a700f /source/features/default-branch-button.tsx | |
parent | a413558a4611ad34ccbea6417c6b0559ab9a4d84 (diff) | |
download | refined-github-addd5ab1bce675fbebfbd373569eb2333b49b95e.tar.gz refined-github-addd5ab1bce675fbebfbd373569eb2333b49b95e.tar.zst refined-github-addd5ab1bce675fbebfbd373569eb2333b49b95e.zip |
Drop support for the old GitHub layout (#3951)
Diffstat (limited to 'source/features/default-branch-button.tsx')
-rw-r--r-- | source/features/default-branch-button.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/features/default-branch-button.tsx b/source/features/default-branch-button.tsx index f1347db9..c81ac7e9 100644 --- a/source/features/default-branch-button.tsx +++ b/source/features/default-branch-button.tsx @@ -43,15 +43,9 @@ async function init(): Promise<false | void> { </a> ); - if (branchSelector.classList.contains('btn-sm')) { - // Pre "Repository refresh" layout - defaultLink.classList.add('btn-sm'); - } - branchSelector.parentElement!.before(defaultLink); branchSelector.parentElement!.style.zIndex = 'auto'; // For #4240 groupButtons([defaultLink, branchSelector.parentElement!]).classList.add('d-flex'); - branchSelector.style.float = 'none'; // Pre "Repository refresh" layout } void features.add(__filebasename, { |