Skip to content

Commit

Permalink
nodejs: debug mobile editors opening (Fix Bug 59054)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin authored and LinneyS committed Mar 27, 2024
1 parent aa5a660 commit 5118352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/documentserver-example/nodejs/views/editor.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
if (config.type !== "mobile") {
return;
}
var wrapEl = document.getElementsByClassName("form");
var wrapEl = document.getElementsByTagName("iframe");
if (wrapEl.length) {
wrapEl[0].style.height = screen.availHeight + "px";
window.scrollTo(0, -1);
Expand Down

0 comments on commit 5118352

Please sign in to comment.