1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-01-17 21:39:25 +01:00

null check for notes in markdown parser (#253)

This commit is contained in:
Hakim El Hattab 2012-11-16 09:29:25 -05:00
parent 4009f2601e
commit 332ce86c3a

View File

@ -29,7 +29,9 @@
section.innerHTML = (new Showdown.converter()).makeHtml(text);
section.appendChild( notes );
if( notes ) {
section.appendChild( notes );
}
}
})();