Commit 861230ec authored by raymes's avatar raymes Committed by Commit bot

Prevent the default select-all behavior from happening in OOP PDF

BUG=454335

Review URL: https://codereview.chromium.org/863863005

Cr-Commit-Position: refs/heads/master@{#314277}
parent 388e681b
...@@ -287,6 +287,8 @@ PDFViewer.prototype = { ...@@ -287,6 +287,8 @@ PDFViewer.prototype = {
this.plugin_.postMessage({ this.plugin_.postMessage({
type: 'selectAll' type: 'selectAll'
}); });
// Since we do selection ourselves.
e.preventDefault();
} }
return; return;
case 80: // p key. case 80: // p key.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment