Closed stokito closed 1 year ago
Hey, apologies for the delay in getting back to you on this!
So the <!--
at the end is to comment out what Apache would normally have on the page so that the UI is entirely rendered by webdav-js, but it could be removed if needed.
Weird that you're seeing the errors... Do you see the problem when you run the Docker test (if you're able to?)
Also, what browser are you using?
I get it wat's a problem was: the javascript is loaded and executed before the html body rendered. So to fix that it should be enough to add a defer
attribute or setup onload/onready hook.
https://www.w3schools.com/tags/att_script_defer.asp#:~:text=The%20defer%20attribute%20is%20a,the%20page%20has%20finished%20parsing.
I don't have a time to check it but if you are interested please try.
Merged as part of #109.
Also amended the build process to prevent these being overwritten.
Thank you!
Thank you @dom111 I'll test it latter
And I didn't tested the header.html with Apache but I just put an
index.html
file into doc root and now it's shown fine when uses the bookmarklet loader. But when I used the plain html tags I got an error in console:I have no idea why it doesn't works. Could you investigate it? I also tried to use
webdav.js
instead ofwebdav-min.js
but it doesn't works at all because has imports.And I still don't get why the comment added in the end.