hummingbird-dev / hummingbird-treeview

A powerful and fast jQuery treeview plugin
MIT License
62 stars 23 forks source link

Fix lines from 37 #17

Open jd19007 opened 4 years ago

jd19007 commented 4 years ago

var converter_height = converter.data("height"); var converter_scroll = converter.data("scroll"); var converter_id = converter.data("id"); //alert(converter_id); if (converter_scroll == "true") { converter_scroll = "overflow-y: scroll;"; } else { converter_scroll = ''; } if (converter_height == undefined) { converter_height = ''; } else { converter_height = "height:"+ converter_height +";"; } if (converter_id == undefined) { //alert(converter_id); converter_id = ""; }

var tree_html = ' div id="treeview_container' + converter_str + '" class="hummingbird-treeview" style=' + converter_height +' ' + converter_scroll + '">' + ' ul id="treeview' + converter_str + converter_id + '" class="hummingbird-base" >';

html will not work in these ugh

this will fix your code for it to work again.

hummingbird-dev commented 4 years ago

fixed, thanks.