From e38c0ffbf25d3093169a00021f747317e218d245 Mon Sep 17 00:00:00 2001 From: Kerrick Long Date: Fri, 15 Jul 2011 19:19:47 -0500 Subject: [PATCH] Textarea fixes --- css/popup.css | 5 ----- js/common.js | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/css/popup.css b/css/popup.css index 3d70042..37146a5 100644 --- a/css/popup.css +++ b/css/popup.css @@ -156,11 +156,6 @@ ol[data-commentspage="true"] button.cancel { } .comment textarea { display: block; - width: 100%; - margin: 0; - padding: 0; - border: 0; - box-shadow: inset 0px 0px 2px black; font: normal small verdana, arial, helvetica, sans-serif; } .comment button { diff --git a/js/common.js b/js/common.js index ea8e328..c14cace 100644 --- a/js/common.js +++ b/js/common.js @@ -680,7 +680,7 @@ Popup.prototype.createListHTML = function (url) { saveText = saveStatus === true ? 'unsave' : 'save'; saveAction = saveStatus === true ? 'reddit.unsavePost(event)' : 'reddit.savePost(event)'; isFreshEnough = settings.get('freshCutoff') === 91 ? 'true' : data.created_utc >= utils.epoch() - settings.get('freshCutoff') * 24 * 60 * 60; - commentText = data.savedCommentText === undefined ? '' : data.savedCommentText; + commentText = value.savedCommentText === undefined ? '' : value.savedCommentText; if (!isFreshEnough) staleCounter++; freshText = isFreshEnough ? 'fresh' : 'stale'; thumbSrc = data.thumbnail.indexOf('/') === 0 ? 'http://www.reddit.com' + data.thumbnail : data.thumbnail; @@ -713,7 +713,7 @@ Popup.prototype.createListHTML = function (url) { listHTML += '
'; listHTML += '
'; listHTML += 'Leave a comment'; - listHTML += ''; + listHTML += ''; listHTML += ''; listHTML += ''; listHTML += '';