mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 18:31:29 +00:00
+ 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:
parent
41dd7db5ec
commit
1027bf1b00
@ -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
|
||||
----------------------------------*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user