|
@@ -46,11 +46,11 @@ function appendStylesToHead(styles, script) {
|
46
|
46
|
}
|
47
|
47
|
|
48
|
48
|
function getScript(props, getBaseScript, getIframeBaseScript) {
|
49
|
|
- const { hasIframe, files, customStyle, resizeWidth } = props;
|
|
49
|
+ const { hasIframe, files, customStyle } = props;
|
50
|
50
|
const baseScript = getBaseScript(props.style);
|
51
|
51
|
let script = hasIframe ? baseScript : getIframeBaseScript(props.style);
|
52
|
52
|
script = files ? appendFilesToHead(files, baseScript) : baseScript;
|
53
|
|
- script = appendStylesToHead(customStyle, script, resizeWidth);
|
|
53
|
+ script = appendStylesToHead(customStyle, script);
|
54
|
54
|
return script;
|
55
|
55
|
}
|
56
|
56
|
|