Created
March 11, 2019 08:16
-
-
Save Arduous/72cd1be20269bd52e167e1962b286ba1 to your computer and use it in GitHub Desktop.
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 Dashboard-left-panel-hide | |
// @namespace userscripts-mirror.org | |
// @description Hide left panel when multiple dashboards | |
// @include http://*/secure/Dashboard* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js | |
// @version 2 | |
// @grant none | |
// ==/UserScript== | |
// works for Firefox, updated to work with JIRA v7.x | |
// adapted from | |
// https://answers.atlassian.com/questions/50924/dashboard-how-do-i-hide-the-dashboard-selector-on-the-left | |
var removeLeftPanel = function() { | |
jQuery("div.dashboard-tabs.tabs.vertical").remove(); | |
jQuery("#dashboard").attr("class", "dashboard"); | |
}; | |
window.addEventListener("load", removeLeftPanel, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment