aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html2
-rw-r--r--static/app.js8
2 files changed, 0 insertions, 10 deletions
diff --git a/index.html b/index.html
index 77fe6db..7248850 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,6 @@
<div>
<label for="editor">org-live</label>
<span class="spacer"></span>
- <button type="button" onclick="showHTML();">Show HTML</button>
<button type="button" onclick="saveHTML();">Save HTML</button>
<button type="button" onclick="saveOrg();">Save Org</button>
</div>
@@ -29,7 +28,6 @@
></textarea>
</form>
<div id="preview"></div>
- <dialog id="modal"></dialog>
<script src="./static/org.js"></script>
<script src="./static/app.js"></script>
</body>
diff --git a/static/app.js b/static/app.js
index 36f6c89..bfa426e 100644
--- a/static/app.js
+++ b/static/app.js
@@ -56,11 +56,3 @@ function saveHTML() {
window.URL.revokeObjectURL(url);
}, 0);
}
-
-function showHTML() {
- var data = parseOrg();
- data += "<form method='dialog'><button>Close dialog</button></form>";
- var element = document.getElementById("modal");
- element.innerHTML = data.toString();
- element.showModal();
-}