summaryrefslogtreecommitdiff
path: root/print/templates/index.html
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2019-04-30 20:27:52 -0400
committerGitHub <noreply@github.com>2019-04-30 20:27:52 -0400
commit8152c63ee393de68c7c7f53858792d8385c82463 (patch)
treec5089a63555329434b894f0825d104b5de91437c /print/templates/index.html
parent5b6923fe9d8d5f3afb0ef298ad34708e735fc5e5 (diff)
parent953990739b742bdad5221c39b35d47fd530502bb (diff)
use electron for Print PDF UI (#432)
electron proof of concept
Diffstat (limited to 'print/templates/index.html')
-rw-r--r--print/templates/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/print/templates/index.html b/print/templates/index.html
index d0ab848f..375fdc77 100644
--- a/print/templates/index.html
+++ b/print/templates/index.html
@@ -2,6 +2,8 @@
<html>
<head>
<title>Ink/Stitch Print Preview</title>
+ <!-- https://stackoverflow.com/a/37480521/4249120 -->
+ <script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
<script src="resources/jquery-3.3.1.min.js"></script>
<script src="resources/inkstitch.js"></script>
<link rel="stylesheet" href="resources/style.css" />