summaryrefslogtreecommitdiff
path: root/source/features/milestone-navigation.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/milestone-navigation.tsx')
-rw-r--r--source/features/milestone-navigation.tsx26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/features/milestone-navigation.tsx b/source/features/milestone-navigation.tsx
deleted file mode 100644
index a42e57ea..00000000
--- a/source/features/milestone-navigation.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import {React} from 'dom-chef/react';
-import select from 'select-dom';
-import features from '../libs/features';
-import {getRepoURL} from '../libs/utils';
-
-const repoUrl = getRepoURL();
-
-function init() {
- select('.repository-content').before(
- <div class="subnav">
- <div class="subnav-links float-left" role="navigation">
- <a href={`/${repoUrl}/labels`} class="subnav-item">Labels</a>
- <a href={`/${repoUrl}/milestones`} class="subnav-item">Milestones</a>
- </div>
- </div>
- );
-}
-
-features.add({
- id: 'milestone-navigation',
- include: [
- features.isMilestone
- ],
- load: features.onAjaxedPages,
- init
-});