Skip to content

Commit

Permalink
Update selector for Delete Fork Link
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Jan 17, 2018
1 parent de6a7da commit 8e97db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/features/add-delete-fork-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as pageDetect from '../libs/page-detect';
const repoUrl = pageDetect.getRepoURL();

export default function () {
const canDeleteFork = select.exists('.reponav-item [data-selected-links~="repo_settings"]');
const canDeleteFork = select.exists('.reponav-item[data-selected-links~="repo_settings"]');
const postMergeDescription = select('#partial-pull-merging .merge-branch-description');

if (canDeleteFork && postMergeDescription) {
Expand Down

0 comments on commit 8e97db3

Please sign in to comment.