summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/index.html2
-rwxr-xr-xjs/stmd.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/index.html b/js/index.html
index 994b147..05fc216 100644
--- a/js/index.html
+++ b/js/index.html
@@ -52,7 +52,7 @@ $(document).ready(function() {
render();
}, 0); // ms delay
};
- $("#text").keyup(parseAndRender);
+ $("#text").bind('keyup paste cut mouseup', parseAndRender);
$(".option").change(render);
});
</script>
diff --git a/js/stmd.js b/js/stmd.js
index 15d7345..4b3d83e 100755
--- a/js/stmd.js
+++ b/js/stmd.js
@@ -1,4 +1,4 @@
-// stmd.js - CommomMark in javascript
+// stmd.js - CommonMark in javascript
// Copyright (C) 2014 John MacFarlane
// License: BSD3.