Skip to content

Commit 6fc3a55

Browse files
committed
Coordinate table: fix JavaScript linting errors
1 parent 0337ecc commit 6fc3a55

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

django/applications/catmaid/static/js/widgets/coordinates-table.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/* global
22
CATMAID,
33
InstanceRegistry,
4-
project,
5-
WindowMaker,
4+
project
65
*/
76

87
(function(CATMAID) {
@@ -51,7 +50,6 @@
5150
buttons.appendChild(clear);
5251
},
5352
createContent: function(content) {
54-
var self = this;
5553
var tab = document.createElement('table');
5654
tab.setAttribute("id", "coordinates-table" + this.widgetID);
5755
tab.setAttribute("class", "coordinates-table");
@@ -143,7 +141,7 @@
143141
return;
144142
}
145143

146-
var titleRow = undefined;
144+
var titleRow;
147145
var ix = xField.value -1,
148146
iy = yField.value -1,
149147
iz = zField.value -1;
@@ -301,7 +299,7 @@
301299
$('tbody tr', self.datatable).css('background-color', '');
302300
// Highlight this row
303301
$(this).css('background-color', CoordinatesTable.prototype.highlighting_color);
304-
})
302+
});
305303
};
306304

307305
// Export coordinates table

0 commit comments

Comments
 (0)