зеркало из https://github.com/mozilla/gecko-dev.git
Bug 483383 - The accesskey for the More/Less button in Library is not correctly set; r=mak77
This commit is contained in:
Родитель
962128c7e7
Коммит
6b8346cc2e
|
@ -771,13 +771,13 @@ var PlacesOrganizer = {
|
|||
if (infoBox.getAttribute("minimal") == "true") {
|
||||
infoBox.removeAttribute("minimal");
|
||||
infoBoxExpanderLabel.value = infoBoxExpanderLabel.getAttribute("lesslabel");
|
||||
infoBoxExpanderLabel.setAttribute("accesskey", infoBoxExpanderLabel.getAttribute("lessaccesskey"));
|
||||
infoBoxExpanderLabel.accessKey = infoBoxExpanderLabel.getAttribute("lessaccesskey");
|
||||
infoBoxExpander.className = "expander-up";
|
||||
}
|
||||
else {
|
||||
infoBox.setAttribute("minimal", "true");
|
||||
infoBoxExpanderLabel.value = infoBoxExpanderLabel.getAttribute("morelabel");
|
||||
infoBoxExpanderLabel.setAttribute("accesskey", infoBoxExpanderLabel.getAttribute("moreaccesskey"));
|
||||
infoBoxExpanderLabel.accessKey = infoBoxExpanderLabel.getAttribute("moreaccesskey");
|
||||
infoBoxExpander.className = "expander-down";
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче