mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
use api.showMessage instead of alert
This commit is contained in:
parent
0995c56506
commit
e03cc01e15
@ -8,5 +8,5 @@
|
|||||||
<h4>Example script</h4>
|
<h4>Example script</h4>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
alert("Current note is " + api.getActiveContextNote().title);
|
api.showMessage("Current note is " + api.getActiveContextNote().title);
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user