From 49cdf04065037e31e006d9884978753aca0ce975 Mon Sep 17 00:00:00 2001 From: lilia Date: Sun, 6 Apr 2014 01:59:22 -0700 Subject: [PATCH 1/2] Work on message styling Replicates some styles from the android app. --- js/popup.js | 19 +++++--- popup.css | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++ popup.html | 8 ++-- 3 files changed, 139 insertions(+), 10 deletions(-) diff --git a/js/popup.js b/js/popup.js index 34de91485..c0f525a4a 100644 --- a/js/popup.js +++ b/js/popup.js @@ -26,17 +26,25 @@ registerOnLoadFunction(function() { conversations.sort(function(a, b) { return b[0].timestamp - a[0].timestamp }); - var ul = $('#messages'); + var ul = $('#conversations'); ul.html(''); for (var i = 0; i < MAX_CONVERSATIONS && i < conversations.length; i++) { var conversation = conversations[i]; - ul.append('
  • '); + var messages = $('