Skip to content

Commit

Permalink
Fix update rule and closeAddToPlaylist() js function
Browse files Browse the repository at this point in the history
  • Loading branch information
rafael-santiago committed Sep 18, 2024
1 parent c15502e commit a93bca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ define do_update
@echo info: Wait...
@sleep 10s
@cp eutherpe $$(which eutherpe) && \
cp -rf web/ /etc/eutherpe/web/ && \
cp -rf web/ /etc/eutherpe/ && \
systemctl start eutherpe && \
echo info: Your Eutherpe\'s core was updated.
endef
Expand Down
2 changes: 1 addition & 1 deletion src/web/js/eutherpe.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function setFromMusicTabContext(value) {

function closeAddToPlaylist(sender) {
var divToShow = (sender.id == "addToPlaylist") ? "Loading" : "Music";
openConfig((!g_FromMusicTabContext) ? "Collection" : "Loading");
openConfig((!g_FromMusicTabContext) ? "Collection" : divToShow);
}

function closeAddTags() {
Expand Down

0 comments on commit a93bca2

Please sign in to comment.