We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1406dec commit 657482eCopy full SHA for 657482e
src/jquery.columnizer.js
@@ -192,8 +192,7 @@
192
//
193
// need to support both .prop and .attr if .prop doesn't exist.
194
// this is for backwards compatibility with older versions of jquery.
195
- if(($clone.prop && $clone.prop("nodeType") == 1 && !$clone.hasClass("dontend")) ||
196
- ($clone.attr("nodeType") == 1 && !$clone.hasClass("dontend"))){
+ if($clone.get(0).nodeType == 1 && !$clone.hasClass("dontend")){
197
$putInHere.append($clone);
198
if($clone.is("img") && $parentColumn.height() < targetHeight + 20){
199
0 commit comments