Merge branch 'jameskopacz-patch-259' of https://github.com/jameskopacz/freecodecamp into ux-improvements
This commit is contained in:
@@ -154,6 +154,10 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
var upvoteHandler = function () {
|
||||
if (typeof user == "undefined" || !user) {
|
||||
window.location.href = '/signin';
|
||||
return;
|
||||
}
|
||||
var _id = storyId;
|
||||
$('#upvote').unbind('click');
|
||||
var alreadyUpvoted = false;
|
||||
|
Reference in New Issue
Block a user