mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
cleaning
This commit is contained in:
parent
54efdcaf93
commit
0abe58a23d
@ -522,7 +522,7 @@ define([
|
||||
mkHelpMenu(framework);
|
||||
}
|
||||
|
||||
var nativePrint = window.print.bind(window);
|
||||
var nativePrint = window.print;
|
||||
|
||||
var printFullContent = function () {
|
||||
var $print = $('#cp-app-code-print');
|
||||
@ -533,7 +533,7 @@ define([
|
||||
};
|
||||
|
||||
window.addEventListener('keydown', function (e) {
|
||||
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'p' && privateData.isEmbed) {
|
||||
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'p' && privateData.isPresent) {
|
||||
e.preventDefault();
|
||||
printFullContent();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user