Skip to content

Commit

Permalink
[#499] Whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin authored and tobes committed Mar 6, 2013
1 parent 544b9ca commit e7bc39e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ckan/public/base/javascript/modules/table-toggle-more.js
@@ -1,6 +1,6 @@
/* Table toggle more
* When a table has more things to it that need to be hidden and then shown more
*/
*/
this.ckan.module('table-toggle-more', function($, _) {
return {
/* options object can be extended using data-module-* attributes */
Expand All @@ -21,9 +21,9 @@ this.ckan.module('table-toggle-more', function($, _) {
// Do we actually want this table to expand?
var rows = $('.toggle-more', this.el).length;
if (rows) {
// How much is the colspan?
var cols = $('thead tr th', this.el).length;
var template_more = [
// How much is the colspan?
var cols = $('thead tr th', this.el).length;
var template_more = [
'<tr class="toggle-show toggle-show-more">',
'<td colspan="'+cols+'">',
'<small>',
Expand Down

0 comments on commit e7bc39e

Please sign in to comment.