Skip to content
Snippets Groups Projects
Commit 7b3098ed authored by Tom Giannattasio's avatar Tom Giannattasio
Browse files

fixed cheatsheet bug on new article page

parent 9b5285ad
Branches
Tags
No related merge requests found
......@@ -43,7 +43,7 @@
$(document).ready(function () {
editor = $('#div_id_content div.controls');
cs = editor.prepend('<p class="cheatsheet">Markdown syntax is allowed. See the <a id="cheatsheetLink" href="#">cheatsheet</a> for help.</p>');
cs.click(function() {
cs.find('#cheatsheetLink').click(function() {
$('#cheatsheetModal').modal('show');
});
$('#cheatsheetModal .close-btn').click(function(e) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment