I changed the code and made a component from this. It was not so compatible with loading spinner hopefully it fix the issue. I think it broke when the body class list refresh.
I’ve added some settings.
Here you can find this.
https://github.com/VaperinaDEV/copyrighted-topic
