Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanuary authored and mattcolegate committed Jan 16, 2018
1 parent 0734850 commit 5cbd2f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/textTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,9 @@ function TextTable(divName, parentName, title) {
}

function resizeTable() {
if(!$(divName).hasClass('invisible')) {
if (!$(divName).hasClass('invisible')) {
let divCanvasWidth = $(divName).width() - 8; // -8 for margins and borders
if (tableIsFullScreen) {
console.log("fullscreen: " + title)
tableHeight = $(divName).height() - 100;
// If parent is a graph-container (Used to vertically group graphs) make position absolute
if ($(divName).parent().hasClass('graph-container')) {
Expand Down

0 comments on commit 5cbd2f6

Please sign in to comment.