Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folders doesn’t expand #7

Closed
ramisedhom opened this issue Mar 3, 2022 · 3 comments
Closed

Folders doesn’t expand #7

ramisedhom opened this issue Mar 3, 2022 · 3 comments

Comments

@ramisedhom
Copy link

Describe the bug
I tried Perlite on my local machine, move my vault to root, add perlite code there and it opens, Viola, it’s magic!! :slight_smile:

However, folders doesn’t expand, when I click on folder, I got this error in browser console:

Uncaught DOMException: Document.querySelector: '#1.-Projects-collapse' is not a valid selector
    i index.js:64
    <anonymous> collapse.js:318
    n event-handler.js:119

To Reproduce
Steps to reproduce the behavior:

  1. Downloaded PAAN Starter Kit from: https://forum.obsidian.md/t/paan-starter-kit/21782
  2. Expanded into my apache root folder (I tried also with nginx), named the folder as paan
  3. Added Perlite code there in same folder
  4. Opened browser to http://localhost:8080/paan
  5. Site is working for files outside folders but folders doesn't expand

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: chrome and firefox
@ramisedhom ramisedhom added the bug report Something isn't working label Mar 3, 2022
@secure-77 secure-77 added confirmed bug and removed bug report Something isn't working labels Mar 3, 2022
@secure-77
Copy link
Owner

secure-77 commented Mar 3, 2022

Hi @ramisedhom,

i can reproduce it, there are actually two issues, which javascript does not like in a html id:

  • the folder must not contain a dot
  • the folder must not start with a number

i fixed this already, just working on a new release, think today or latest tomorrow i will release it.

BR and thanks for the report!

@secure-77
Copy link
Owner

@ramisedhom please take a look a the latest release 1.4.1 and let me know if the problem is fixed.

Thank you and BR,
Sec77

@ramisedhom
Copy link
Author

It's fixed, thanks for fast responses 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants