chore: Remove defer attribute from widget-loader script (#11887)

This commit is contained in:
Sivin Varghese
2025-07-08 15:31:33 +05:30
committed by GitHub
parent c553997af8
commit 8c78573d9d
4 changed files with 1 additions and 4 deletions

View File

@@ -66,7 +66,6 @@ class Channel::WebWidget < ApplicationRecord
var BASE_URL=\"#{ENV.fetch('FRONTEND_URL', '')}\";
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=BASE_URL+\"/packs/js/sdk.js\";
g.defer = true;
g.async = true;
s.parentNode.insertBefore(g,s);
g.onload=function(){