mirror of
https://github.com/JPT580/jpt580.github.io.git
synced 2024-11-27 21:57:46 +01:00
Fix small typo.
This commit is contained in:
parent
9a2355497d
commit
32cd367a1e
@ -1,9 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function loadMdFromUrl(url) {
|
function loadMdFromUrl(url) {
|
||||||
$.get(url, function(date) {
|
$.get(url, function(data) {
|
||||||
var converter = new showdown.Converter();
|
var converter = new showdown.Converter();
|
||||||
var html = converter.makeHtml(text);
|
var html = converter.makeHtml(data);
|
||||||
$("#markdown-content").html(html);
|
$("#markdown-content").html(html);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user