Skip to content

Commit bd75e83

Browse files
committed
fix btn style & jquery markdown selector
1 parent 270c2a3 commit bd75e83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ <h1>Try it online</h1>
179179
</div>
180180
</div>
181181
<form action="#" method="get">
182-
<input id="generate" type="button" value="Generate markdown">
182+
<input id="submit" type="button" value="Generate markdown">
183183
<textarea id="markdown"></textarea>
184184
</div>
185185
</div>
@@ -228,8 +228,8 @@ <h1>Try it online</h1>
228228
$('#error-msg').text(e.message);
229229
}
230230
}
231-
$('#generate').on('click', function() {
232-
var $out = $('markdown');
231+
$('#submit').on('click', function() {
232+
var $out = $('#markdown');
233233
var text = 'PHP Script :\n';
234234
text += '```php\n';
235235
text += editor.getValue();

0 commit comments

Comments
 (0)