Ver Fonte

Made like/dislike auto unfocus after pressing the button.

KrisVos130 há 9 anos atrás
pai
commit
303f6bdba4
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      app/client/client.js

+ 2 - 0
app/client/client.js

@@ -285,9 +285,11 @@ Template.room.events({
         }
         }
     },
     },
     "click #like": function(e) {
     "click #like": function(e) {
+        $("#like").blur();
         Meteor.call("likeSong", Session.get("currentSong").mid);
         Meteor.call("likeSong", Session.get("currentSong").mid);
     },
     },
     "click #dislike": function(e) {
     "click #dislike": function(e) {
+        $("#dislike").blur();
         Meteor.call("dislikeSong", Session.get("currentSong").mid);
         Meteor.call("dislikeSong", Session.get("currentSong").mid);
     },
     },
     "click #vote-skip": function(){
     "click #vote-skip": function(){