Skip to content

Commit

Permalink
Fix bug 72435
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Jan 31, 2025
1 parent 0f8a6f9 commit a1bfeb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdf/src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4405,6 +4405,9 @@
};
CHtmlPage.prototype.createComponents = function()
{
if (AscCommon.g_inputContext)
AscCommon.g_inputContext = null;

var elements = "<div id=\"id_main\" class=\"block_elem\" style=\"touch-action:none;-ms-touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;background-color:" + AscCommon.GlobalSkin.BackgroundColor + ";overflow:hidden;\" UNSELECTABLE=\"on\">";
elements += "<canvas id=\"id_viewer\" class=\"block_elem\" style=\"touch-action:none;-ms-touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;left:0px;top:0px;width:100;height:100;\"></canvas>";
elements += "<canvas id=\"id_forms\" class=\"block_elem\" style=\"touch-action:none;-ms-touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;left:0px;top:0px;width:100;height:100;\"></canvas>";
Expand Down

0 comments on commit a1bfeb2

Please sign in to comment.