Skip to content

Commit

Permalink
Fix loading pdf (skip svg loading when check pdf-form)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Sep 23, 2024
1 parent bc0e097 commit 427bde2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/common/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
var params = getUrlParams(),
postfix = params["indexPostfix"] || '',
embed = params["type"]==='embedded';
params.skipScaling = true;
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
</script>
Expand Down
1 change: 1 addition & 0 deletions apps/common/index.html.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
var params = getUrlParams(),
postfix = params["indexPostfix"] || '',
embed = params["type"]==='embedded';
params.skipScaling = true;
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
</script>
Expand Down
2 changes: 1 addition & 1 deletion apps/common/main/lib/util/htmlutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ window.Common = {
}
}

checkScaling();
!params.skipScaling && checkScaling();

if ( !!params.uitheme ) {
if ( params.uitheme == 'default-dark' ) {
Expand Down

0 comments on commit 427bde2

Please sign in to comment.