From 5ffa6960c8605eff8b991c7c55883255278b8fe3 Mon Sep 17 00:00:00 2001 From: CodeF0x Date: Tue, 8 Oct 2019 20:28:07 +0200 Subject: [PATCH] Fix for #144 --- src/css/main.css | 1 + src/js/View.js | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/css/main.css b/src/css/main.css index 111823b..5f4fda6 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -161,6 +161,7 @@ input:disabled:hover { grid-row: 2; justify-self: center; -webkit-app-region: no-drag; + display: none; /** Issue #144 */ } #by-name:hover, diff --git a/src/js/View.js b/src/js/View.js index 80325a3..796fe13 100644 --- a/src/js/View.js +++ b/src/js/View.js @@ -200,8 +200,13 @@ module.exports = class View { self._currentlyPlaying.classList.add('song-container-active'); } - // Search input field is disabled by default -> enable + // Issue #135 self._search.disabled = false; + + // Issue #144 + [self._sortByAlbum, self._sortByArtist, self._sortByName].forEach( + heading => (heading.style.display = 'block') + ); } /**