Skip to content

Commit

Permalink
[wopi] refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Mar 26, 2024
1 parent 78935ee commit d86584e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/documentserver-example/nodejs/views/wopiAction.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
overflow: hidden;
-ms-content-zooming: none;
}
#office_frame {
width: 100%;
height: 100%;
Expand Down Expand Up @@ -79,7 +79,7 @@
var cmd = JSON.parse(data);
if (cmd) {
if ( cmd.MessageId == 'UI_DocumentReady' ) {
if ( cmd.MessageId == 'App_LoadingStatus' ) {
var fixSize = function() {
document.getElementsByTagName("iframe")[0].style.height = window.innerHeight + "px";
}
Expand Down

0 comments on commit d86584e

Please sign in to comment.