vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.13k stars 1.39k forks source link

css style from style.min.css without full path not working #2716

Closed NathanApb closed 1 year ago

NathanApb commented 1 year ago

i just upgraded the jstree from 3.1.0 to 3.3.15 because some inconsistencies that sometime the tree did not load properly and now i have a now problem, now the arrow form the folders did not load, with a litle bit of investigation i discover that is due the change in the style.min.css path to the images:

from: background-image: url("/Scripts/jstree/themes/default/32px.png")

working: image

to: background-image: url("32px.png")

not working: image

reverting just this lines bring back the icons with no problem

vakata commented 1 year ago

This was likely something you or your team fixed manually (probably moved a file or two). The paths in the CSS were always relative to the file itself.