Columnizer-jQuery-Plugin
Columnizer-jQuery-Plugin copied to clipboard
$inBox.empty() in line 93 seems to make columnize() not work
I have an empty that append some stuff into through ajax and then run columize() on. Nothing happens. When I comment out $inBox.empty(); in line 93 it works.
Edit: I'm using v.1.6.0 and jQuery v.1.10.2
Do you have a URL where I can see this in action?
Sorry, all the code is part of a bigger admin panel I make at work. I debugged the problem as far as realizing that $inBox.empty() makes the "state" of the container hidden (did a if ($inBox.is(':hidden') test) which led numCols to be 0 (line 381). Not 100% sure this is the issue as I don't really have time to debug this further right now. My quickfix was just to comment out that code in line 93 and it worked. Btw, there are some commented out code in around line 390.