Skip to content

Commit

Permalink
Merge pull request 'Fix loading pdf (skip svg loading when check pdf-…
Browse files Browse the repository at this point in the history
…form)' (#39) from fix/bugfix into release/v8.2.0
  • Loading branch information
Julia Radzhabova committed Sep 23, 2024
2 parents bc0e097 + 427bde2 commit c9c8211
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 c9c8211

Please sign in to comment.