Skip to content

Wrong 'dontsplit' condition #76

@kirara

Description

@kirara

In https://github.com/adamwulf/Columnizer-jQuery-Plugin/blob/master/src/jquery.columnizer.js#L253:

}else if(!$cloneMe.hasClass(prefixTheClassName("dontsplit")) && $parentColumn.height() < targetHeight + 20){
//
// pretty close fit, and we're not allowed to split it, so just
// add it to the column, remove from pullOutHere, and be done
$cloneMe.remove();

the NOT operator seems to be wrong.
Commentary says "we're not allowed to split it". That translates to "node has 'dontsplit' class". This is other way around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions