Skip to content

Commit fb72531

Browse files
committed
correction to javascript code sample
1 parent 4a39aec commit fb72531

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ <h2>Custom Events</h2>
231231
<p>
232232
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
233233
</p>
234-
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
234+
<pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
235235
Reveal.addEventListener( 'customevent', function() {
236236
console.log( '"customevent" has fired' );
237237
} );

0 commit comments

Comments
 (0)