From 6c194ab2b10d254ac52a2e282984516b8aaa2c66 Mon Sep 17 00:00:00 2001 From: "mgalli%geckonnection.com" Date: Tue, 14 Feb 2006 22:51:17 +0000 Subject: [PATCH] BrowserHomeBar toggle. --- minimo/chrome/content/minimo.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/minimo/chrome/content/minimo.js b/minimo/chrome/content/minimo.js index 5a9456a9227..cef85cd9a0a 100755 --- a/minimo/chrome/content/minimo.js +++ b/minimo/chrome/content/minimo.js @@ -401,7 +401,7 @@ nsBrowserStatusHandler.prototype = * Homebar init... */ - bmInitXUL(document,document.getElementById("browserleftbar")); + bmInitXUL(document,document.getElementById("homebarcontainer")); document.getElementById("browserleftbar").style.display="block"; } @@ -1440,3 +1440,9 @@ TransferItem.prototype = { }, } + +function BrowserHomeBar() { + + if(document.getElementById("homebarcontainer").style.display=="none") document.getElementById("homebarcontainer").style.display="block"; + else document.getElementById("homebarcontainer").style.display="none"; +} \ No newline at end of file