Преглед на файлове

correction to javascript code sample

Hakim El Hattab преди 11 години
родител
ревизия
fb7253187d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -231,7 +231,7 @@
 					<p>
 						Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
 					</p>
-					<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
+					<pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
 Reveal.addEventListener( 'customevent', function() {
 	console.log( '"customevent" has fired' );
 } );