Hello,
We don’t see any problem with the custom code, it works https://gyazo.com/043f35a019ac6c72f6322de9a3c314e0
Try to clear browser cache if you use Chrome.
Regards