Browse Source

Made like/dislike auto unfocus after pressing the button.

KrisVos130 9 years ago
parent
commit
303f6bdba4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/client/client.js

+ 2 - 0
app/client/client.js

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