Closed pxpm closed 11 months ago
Jorge is having issues accessing colorMode in elfinder views. That's because they render in separate iframes outside of the colorMode constant scope.
Adding the colorMode to the window object would allow us to access it with window.parent on elfinder iframe.
window.parent
AFAIK there is no other implications apart from making it globally available.
Jorge is having issues accessing colorMode in elfinder views. That's because they render in separate iframes outside of the colorMode constant scope.
Adding the colorMode to the window object would allow us to access it with
window.parent
on elfinder iframe.AFAIK there is no other implications apart from making it globally available.