diff --git a/mailnews/base/resources/content/mailWindowOverlay.js b/mailnews/base/resources/content/mailWindowOverlay.js index 9889ec9b2cb..4e577ceb1cf 100644 --- a/mailnews/base/resources/content/mailWindowOverlay.js +++ b/mailnews/base/resources/content/mailWindowOverlay.js @@ -202,7 +202,7 @@ function view_init() function InitViewLayoutStyleMenu(event) { - var paneConfig = GetMailPaneConfig(); + var paneConfig = pref.getIntPref("mail.pane_config.dynamic"); var layoutStyleMenuitem = event.target.childNodes[paneConfig]; if (layoutStyleMenuitem) layoutStyleMenuitem.setAttribute("checked", "true");