Created
January 20, 2017 15:49
-
-
Save pdvorchik/1649bfaa2638ab4a2d79731ba986cd87 to your computer and use it in GitHub Desktop.
This moves the ticket's issue number in front of the title, to meet our bookkeeping standards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Move issue number in front of title | |
// @namespace https://github.com/ | |
// @include https://github.com/*/*/issues/* | |
// @version 1 | |
// ==/UserScript== | |
// This moves the ticket's issue number in front of the title, to meet our bookkeeping standards | |
let issueNumber = document.getElementsByClassName('gh-header-number')[0] | |
issueNumber.parentElement.insertBefore(issueNumber, document.getElementsByClassName('js-issue-title')[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment