Open stalniy opened 12 years ago
Change this
el.wrapInner('<div class="lb-wrap" id="lb-wrap-'+id+'-'+elemId+'"></div>'); wrap = $('#lb-wrap-'+id+'-'+elemId);
To this:
wrap = el.wrapInner('<div class="lb-wrap" id="lb-wrap-'+id+'-'+elemId+'"></div>').children(0);
Otherewise some element will be wrapped twice if you use ajax or some timers to update its content
Change this
To this:
Otherewise some element will be wrapped twice if you use ajax or some timers to update its content