Browse Source

js: whitespace tweaks in _getSegments

pull/14/head
David DeSandro 14 years ago
parent
commit
073589f250
  1. 2
      src/jquery.ionize.js

2
src/jquery.ionize.js

@ -458,7 +458,7 @@
// if colW == 0, back out before divide by zero // if colW == 0, back out before divide by zero
if ( !this[ namespace ][ measure ] ) { if ( !this[ namespace ][ measure ] ) {
$.error( UCSize + ' of ' + segments + 'calculated to be zero. Stopping Ionize plugin before divide by zero. Check that the width of first child inside the ionize container is not zero.') $.error( measure + 'calculated to be zero. Stopping Ionize plugin before divide by zero. Check that the width of first child inside the ionize container is not zero.')
return this; return this;
} }
this[ size ] = this.element[ size ](); this[ size ] = this.element[ size ]();

Loading…
Cancel
Save