Created
December 12, 2017 20:42
-
-
Save fabioelia/00145703fd3991bad5e9bfe638bea6f1 to your computer and use it in GitHub Desktop.
Jira hide completed entries
This file contains hidden or 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
| (() => { | |
| if ($('#toggle-done').length === 0) { | |
| $('#create-menu').after('<li id="toggle-done"><a class="aui-button aui-button-secondary aui-style" style="background-color: #6fb035; border-color: #3e730e">Show / Hide Done</a></li>'); | |
| $('#toggle-done').on('click', function(e) { | |
| e.preventDefault(); | |
| $('.ghx-done').toggleClass('hidden'); | |
| return false; | |
| }); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment