From 6a51d7eef3cd14f0c7ae3b1eb568b9a48ad57632 Mon Sep 17 00:00:00 2001 From: Kerrick Long Date: Wed, 13 Jul 2011 16:11:52 -0500 Subject: [PATCH] fixed the width setting --- html/popup.html | 1 - js/common.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/html/popup.html b/html/popup.html index 77c6039..bacc95a 100644 --- a/html/popup.html +++ b/html/popup.html @@ -20,7 +20,6 @@ document.getElementById('body').innerHTML = popup.createSubmitForm(currTab.url); } }); - document.getElementById('body').setAttribute('style', 'max-width: ' + settings.get('popupWidth') + 'px'); } window.addEventListener('load', initPopup); diff --git a/js/common.js b/js/common.js index 1902300..f928ae3 100644 --- a/js/common.js +++ b/js/common.js @@ -543,7 +543,7 @@ Popup.prototype.createListHTML = function (url) { throw 'Cannot create list HTML for a non-cached URL.'; } - listHTML = '
    '; + listHTML = '
      '; staleCounter = 0; utils.forEachIn(cache.get(url).posts, function (name, value) { @@ -595,7 +595,7 @@ Popup.prototype.createListHTML = function (url) { listHTML += '
    ' if (staleCounter > 0) { - listHTML += '
    Hiding ' + staleCounter.toString() + ' stale posts. Visit the options page to change your Fresh Content preferences.
    '; + listHTML += '
    Hiding ' + staleCounter.toString() + ' stale posts. Visit the options page to change your Fresh Content preferences.
    '; } return listHTML;