summaryrefslogtreecommitdiff
path: root/print/templates
diff options
context:
space:
mode:
Diffstat (limited to 'print/templates')
-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" />