1d4b58419e
I mourn the time lost trying to track this down :-( https://github.com/protobufjs/protobuf.js/issues/1014 We can't patch the minified file in dist without essentially duplicating it, so this change also switches from the external file to including the src file as part of the bundle.
23 lines
810 B
HTML
23 lines
810 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" id="viewport" content="width=device-width" />
|
|
<link href="change-notetype-base.css" rel="stylesheet" />
|
|
<link href="change-notetype.css" rel="stylesheet" />
|
|
<script src="../js/vendor/bootstrap.bundle.min.js"></script>
|
|
<script src="change-notetype.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="main"></div>
|
|
|
|
<script>
|
|
// use #testXXXX where XXXX is notetype ID to test
|
|
if (window.location.hash.startsWith("#test")) {
|
|
const ntid = parseInt(window.location.hash.substr("#test".length), 10);
|
|
anki.changeNotetypePage(document.getElementById("main"), ntid, ntid);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|