From a31a98d38d2ebfc51834f9873b68e2e965619710 Mon Sep 17 00:00:00 2001
From: anekos
Date: Thu, 15 Dec 2011 15:53:18 +0900
Subject: Fix reversed history.
Thanks, dionore.
---
twittperator/twsidebar.tw | 2 +-
twittperator/twsidebar/chrome/content/overlay.xul | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index 47cae8c..f6af3af 100755
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -484,7 +484,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
setTimeout(
function () {
readyToStart = false;
- Tweets.reverse().forEach(makeOnMsg(false));
+ Array.slice(Tweets).reverse().forEach(makeOnMsg(false));
plugins.twittperator.ChirpUserStream.addListener(added.chirp = makeOnMsg(true, 'chirp'));
plugins.twittperator.TrackingStream.addListener(added.filter = makeOnMsg(true, 'filter'));
},
diff --git a/twittperator/twsidebar/chrome/content/overlay.xul b/twittperator/twsidebar/chrome/content/overlay.xul
index 59e7a70..f6c9fe9 100644
--- a/twittperator/twsidebar/chrome/content/overlay.xul
+++ b/twittperator/twsidebar/chrome/content/overlay.xul
@@ -3,23 +3,23 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-
+ oncommand="toggleSidebar('viewTwitterSidebar');" />
--
cgit v1.2.3