+ Fixed a bug whereby the navbar and tabstrip weren't being properly hidden

+ Fixed a typo where errors in onFocus weren't being logged. (When you  go back to the TabCandy from a tab, the tab strip get hidden late,  causing a jarring jump)
+ Also: fixed bug 567010
This commit is contained in:
Aza Raskin 2010-05-21 03:13:53 -04:00
Родитель 41dd7db5ec
Коммит 1027bf1b00
2 изменённых файлов: 3 добавлений и 9 удалений

Просмотреть файл

@ -512,9 +512,10 @@ UIClass.prototype = {
}
Tabs.onFocus(function() {
var me = this;
setTimeout(function() { // Marshal event from chrome thread to DOM thread
try{
if(this.contentWindow.location.host == "tabcandy") {
if(me.contentWindow.location.host == "tabcandy") {
self.focused = true;
self.navBar.hide();
self.tabBar.hide();
@ -523,7 +524,7 @@ UIClass.prototype = {
self.navBar.show();
}
}catch(e){
Utils.log()
Utils.log(e)
}
}, 1);
});

Просмотреть файл

@ -13,13 +13,6 @@ body {
margin: 0 auto;
}
#top-border {
border-top: 1px solid black;
width: 100%;
position: absolute;
z-index: 999999;
}
/* Tab Styling
----------------------------------*/