You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in methods such as gatherParameters(), forceDirection() and cycleDirectionSettings(), we use the messagePane, which we locate using TB-102-compatible code - that can't be used in TB 115. Instead, let's use the new "about Message" mechanism; it can be used like so:
let aboutMessage =
document.getElementById("tabmail")?.currentAboutMessage ||
document.getElementById("messageBrowser").contentWindow;
The text was updated successfully, but these errors were encountered:
…ocuments and bodies
Note: Some of the code for doing this leaves much to be desired:
* It may be possible to avoid passing the window to a wrapper to the `onLoad()` function, and down into various getters
* It may be possible to detect when the global window will not have a `tabmail` or `messageBrowser` elements; and perhaps one can conclude apriori that in this case it has a `messagePaneBrowser`
* We may be overly protective with the `?.` operators
…ocuments and bodies
Note: Some of the code for doing this leaves much to be desired:
* It may be possible to avoid passing the window to a wrapper to the `onLoad()` function, and down into various getters
* It may be possible to detect when the global window will not have a `tabmail` or `messageBrowser` elements; and perhaps one can conclude apriori that in this case it has a `messagePaneBrowser`
* We may be overly protective with the `?.` operators
The code in methods such as
gatherParameters()
,forceDirection()
andcycleDirectionSettings()
, we use the messagePane, which we locate using TB-102-compatible code - that can't be used in TB 115. Instead, let's use the new "about Message" mechanism; it can be used like so:The text was updated successfully, but these errors were encountered: