Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

bodyStyle variable (body.style attribute) #572

@nop1984

Description

@nop1984

It would be really nice if you init variable bodyStyle with = document.body.style somewhere earlier in widjet.js lifecycle before using it as undefined in updateWidgetStyle() to document.body. For example createWidget() seems to be nice place for initialization.
Thank you.

P.S. same issue https://forums.rocket.chat/t/livechat-script-omnichannel-removes-style-attribute-from-body/9940

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions