public/js/jquery.t.js in sequenceserver-1.0.0.pre.2 vs public/js/jquery.t.js in sequenceserver-1.0.0.pre.3

- old
+ new

@@ -20,11 +20,11 @@ var MIN_HITS_TO_SHOW = 20; var totalHits, shownHits, lessButton, moreButton; var countHits = function () { - totalHits = $queryDiv.data().hitCount, + totalHits = $queryDiv.data().hitCount; shownHits = $queryDiv.find('.ghit > g').length; }; var setupButtons = function($queryDiv, $graphDiv) { $graphDiv @@ -47,11 +47,11 @@ $('<i/>') .addClass('fa fa-angle-double-up') ) ); - lessButton = $('.less', $graphDiv), + lessButton = $('.less', $graphDiv); moreButton = $('.more', $graphDiv); }; var initButtons = function () { countHits(); @@ -200,11 +200,11 @@ var queryLen = $queryDiv.data().queryLen; var q_i = $queryDiv.attr('id'); var width = $graphDiv.width(); - var height = hits.length * (options.barHeight + options.barPadding) - + 5 * options.margin + options.legend * 3; + var height = hits.length * (options.barHeight + options.barPadding) + + 5 * options.margin + options.legend * 3; var svg = d3.select($graphDiv[0]) .selectAll('svg') .data([hits]) .enter()