TriliumNext / Notes

Build your personal knowledge base with TriliumNext Notes
https://triliumnext.github.io/Docs/
GNU Affero General Public License v3.0
1.04k stars 59 forks source link

#run=frontendStartup does not work in mobile mode #290

Closed olunju closed 3 months ago

olunju commented 3 months ago

TriliumNext Version

0.63.7

What operating system are you using?

Windows

What is your setup?

Server access only

Operating System Version

Windows 10 & Google Chrome

Description

I render a new menu item with JS, but in mobile mode, JS does not execute and the note uses the #run=frontendStartup tag; How to make it work on mobile? Thanks

Error logs

No response

eliandoran commented 3 months ago

@olunju , could you try #run=mobileStartup instead of #run=frontendStartup?

olunju commented 3 months ago

@olunju , could you try #run=mobileStartup instead of #run=frontendStartup?

Thank you, it worked. but why not include this option in the attributes tip?

image

eliandoran commented 3 months ago

@olunju , apparently the feature was added three years ago by a third party and they probably just forgot to update the docs. I've added it in c0a26889e46e7a94c8ab93f357b5c37f2008b5df.

olunju commented 3 months ago

Thank you