Skip to content

Commit

Permalink
Fixed NeXTs#33
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Lukov committed Jul 3, 2015
1 parent 0b4ef8b commit 6eab48e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions clusterize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Clusterize.js - v0.8.1 - 2015-07-01
/*! Clusterize.js - v0.8.2 - 2015-07-03
* http://NeXTs.github.com/Clusterize.js/
* Copyright (c) 2015 Denis Lukov; Licensed MIT */

Expand Down Expand Up @@ -151,7 +151,7 @@
opts.content_tag = this.content_elem.tagName.toLowerCase();
if( ! rows.length) return;
if(ie && ie <= 9 && ! opts.tag) opts.tag = rows[0].split('<')[1].split(' ')[0].split('>')[0].toLowerCase();
if(this.content_elem.children.length <= 1) {
if(this.content_elem.children.length <= 1 || ! opts.tag) {
this.html(rows[0] + rows[0] + rows[0]);
var node = this.content_elem.children[1];
if( ! opts.tag) opts.tag = node.tagName.toLowerCase();
Expand Down
6 changes: 3 additions & 3 deletions clusterize.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clusterize.js",
"version": "0.8.1",
"version": "0.8.2",
"description": "Tiny vanilla JS plugin to display large data sets easily",
"main": "clusterize.js",
"style": "clusterize.css",
Expand Down

0 comments on commit 6eab48e

Please sign in to comment.