зеркало из https://github.com/mozilla/gecko-dev.git
Bug 680933 - long tapping on a tab from last time at about:home does not bring up the context menu [r=mbrubeck]
This commit is contained in:
Родитель
6234290d02
Коммит
abf475f3c6
|
@ -222,15 +222,11 @@
|
|||
let uri = chromeWin.Util.makeURI(url);
|
||||
let favicon = chromeWin.gFaviconService.getFaviconImageForPage(uri).spec;
|
||||
|
||||
let outer = document.createElement("div");
|
||||
let outer = document.createElement("a");
|
||||
outer.setAttribute("role", "button");
|
||||
outer.setAttribute("href", url);
|
||||
|
||||
let pageURL = url;
|
||||
outer.addEventListener("click", function() {
|
||||
openTabs([pageURL]);
|
||||
}, false);
|
||||
|
||||
allPageURLs.push(pageURL);
|
||||
allPageURLs.push(url);
|
||||
|
||||
let img = document.createElement("img");
|
||||
img.className = "favicon";
|
||||
|
|
|
@ -99,19 +99,27 @@ body[dir="rtl"] #logo {
|
|||
border-radius: 8px 8px 0 0;
|
||||
}
|
||||
|
||||
.section-box > div {
|
||||
.section-box > div,
|
||||
.section-box > a {
|
||||
border-bottom: 1px solid rgba(0,0,0,0.1);
|
||||
padding: 8px;
|
||||
padding-bottom: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.section-box > div:last-child {
|
||||
.section-box > a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.section-box > div:last-child,
|
||||
.section-box > a:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
/* Make room for the image */
|
||||
.section-box > div > div,
|
||||
.section-box > a > div,
|
||||
.section-row > div > div {
|
||||
-moz-margin-start: 48px;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче