1
0
Fork 0
forked from 0x2620/oxjs

fixing a bug where in a list, the click target loop would not exit when items are added or removed on click

This commit is contained in:
rlx 2011-09-05 05:40:44 +00:00
commit c3b59a62fe
8 changed files with 71 additions and 22 deletions

View file

@ -34,6 +34,7 @@ Ox.DocPage = function(options, self) {
});
function getItem(item, level, name) {
Ox.print('getItem', item, level, name)
var $elements = [$('<div>')
.css({paddingLeft: (level ? level * 32 - 16 : 0) + 'px'})
.html(