Browse Source

Made like/dislike auto unfocus after pressing the button.

KrisVos130 9 năm trước cách đây
mục cha
commit
303f6bdba4
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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(){