Hide upvote arrow on news page if already upvoted. Make it disappear on upvote
This commit is contained in:
@@ -120,7 +120,8 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
var upvoteHandler = function () {
|
||||
var _id = storyId;
|
||||
$(".ion-arrow-up-b").hide();
|
||||
var _id = storyId;
|
||||
$('#upvote').unbind('click');
|
||||
var alreadyUpvoted = false;
|
||||
for (var i = 0; i < upVotes.length; i++) {
|
||||
|
Reference in New Issue
Block a user