Bug 1718548 - Use setAttribute() to set calViewCalendarPane checked status. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D119986
This commit is contained in:
Родитель
90f6bc608c
Коммит
47d5ae64c1
|
@ -571,7 +571,7 @@ function customizeMailToolbarForTabType() {
|
|||
function initViewCalendarPaneMenu() {
|
||||
let calSidebar = document.getElementById("calSidebar");
|
||||
|
||||
document.getElementById("calViewCalendarPane").checked = !calSidebar.collapsed;
|
||||
document.getElementById("calViewCalendarPane").setAttribute("checked", !calSidebar.collapsed);
|
||||
|
||||
if (document.getElementById("appmenu_calViewCalendarPane")) {
|
||||
document.getElementById("appmenu_calViewCalendarPane").checked = !calSidebar.collapsed;
|
||||
|
|
Загрузка…
Ссылка в новой задаче