Skip to content

Commit 5d20ebb

Browse files
committed
upd linked-blocks
1 parent b8e7aa2 commit 5d20ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/linked-block.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<button onclick="createBlocksCTop()">C Top</button>
2929
<button onclick="createBlocksCBottom()">C Bottom</button>
3030
<button onclick="createBlocksCSide()">C Side</button>
31-
<button onclick="Metro.getPlugin('.linked-block.active-block', 'linked-block').destroy()">Destroy</button>
31+
<button onclick="Metro.getPlugin('.linked-block.active-block', 'linked-block')?.destroy()">Destroy</button>
3232
</div>
3333
<div class="app-bar-item-static no-hover ml-auto">
3434
<input type="checkbox" data-role="theme-switcher"/>

0 commit comments

Comments
 (0)