0
0
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:
Jan Philipp Timme 2018-03-13 12:02:18 +01:00
parent 9a2355497d
commit 32cd367a1e

View File

@ -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);
}); });