diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-26 19:04:58 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-26 19:04:58 -0400 |
commit | 16e14b76a6dc2eca028fa08c0db9a9651f16bfd9 (patch) | |
tree | c85bf9380979ffbe64dc1831ebf586c97ad0b7ac /assets/js/src | |
parent | 53f4b410088258cf76162543909db025ecb62656 (diff) |
Change swimlane layout to save space on the screen
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/Swimlane.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/assets/js/src/Swimlane.js b/assets/js/src/Swimlane.js index 0edb4821..8dfc9d45 100644 --- a/assets/js/src/Swimlane.js +++ b/assets/js/src/Swimlane.js @@ -16,9 +16,8 @@ Swimlane.prototype.expand = function(swimlaneId) { localStorage.setItem(this.getStorageKey(), JSON.stringify(swimlaneIds)); $('.swimlane-row-' + swimlaneId).css('display', 'table-row'); - $('.show-icon-swimlane-' + swimlaneId).css('display', 'none'); $('.hide-icon-swimlane-' + swimlaneId).css('display', 'inline'); - $('.swimlane-task-count-' + swimlaneId).css('display', 'inline'); + $('.show-icon-swimlane-' + swimlaneId).css('display', 'none'); }; Swimlane.prototype.collapse = function(swimlaneId) { @@ -30,9 +29,8 @@ Swimlane.prototype.collapse = function(swimlaneId) { } $('.swimlane-row-' + swimlaneId).css('display', 'none'); - $('.show-icon-swimlane-' + swimlaneId).css('display', 'inline'); $('.hide-icon-swimlane-' + swimlaneId).css('display', 'none'); - $('.swimlane-task-count-' + swimlaneId).css('display', 'none'); + $('.show-icon-swimlane-' + swimlaneId).css('display', 'inline'); }; Swimlane.prototype.isCollapsed = function(swimlaneId) { |