diff --git a/js/common.js b/js/common.js index cec9699..96e7206 100644 --- a/js/common.js +++ b/js/common.js @@ -269,13 +269,13 @@ RedditAPI.prototype.getInfo = function (url) { }; /** - * Votes a thing up. - * @alias RedditAPI.voteUp(event) + * Votes a post thing up. + * @alias RedditAPI.voteUpPost(event) * @param {String} thing The FULLNAME of the thing to vote up. * @return {Boolean} Returns true. * @method */ -RedditAPI.prototype.voteUp = function (e) { +RedditAPI.prototype.voteUpPost = function (e) { var listItem, fullName, url, reqUrl, oldCache, voteWas, formData; listItem = e.srcElement.parentNode.parentNode; @@ -392,9 +392,9 @@ Popup.prototype.createListHTML = function (url) { listHTML += '
  • '; listHTML += '
    '; - listHTML += ''; + listHTML += ''; listHTML += '' + data.score + ''; - listHTML += ''; + listHTML += ''; listHTML += '
    '; listHTML += ''; listHTML += '' + data.title + '';