Browse Source

fixed playlist modal view bug

Akira Laine 9 years ago
parent
commit
c3851b5643
1 changed files with 7 additions and 1 deletions
  1. 7 1
      app/client/client.js

+ 7 - 1
app/client/client.js

@@ -940,10 +940,16 @@ Template.room.events({
         if($("#select_playlist").is(':selected')){
             $("#search-info").hide();
             $("#playlist-buttons").show();
-        } else{
+        }
+        if($("#select_single").is(':selected')){
             $("#search-info").show();
             $("#playlist-buttons").hide();
         }
+    },
+    "click #close-modal-a": function(){
+        $("#select_single").attr("selected", true);
+        $("#search-info").show();
+        $("#playlist-buttons").hide();
     }
 });