Skip to content

Commit 8a3cbc6

Browse files
committed
Added onclick event for checkbox.
1 parent 4439658 commit 8a3cbc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</select>
8080
</p>
8181
<p>
82-
<input type="checkbox" id="show_labels">
82+
<input type="checkbox" id="show_labels" onclick="drawing.show_labels = this.checked;">
8383
<label for="show_labels">Show labels</label>
8484
</p>
8585
<p>

0 commit comments

Comments
 (0)