diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-27 18:08:46 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-27 18:15:44 +0200 |
| commit | d9eb9c94c32c1065e9166e055f9a355841b2b8db (patch) | |
| tree | bd71e6456eb4f8bf5017cc6e02784eac89941fa1 /js/pomf.js | |
| parent | 8d9f781514cdb07a33e2dbaa3431928f0e08733b (diff) | |
Remove unused expression (hits[file.name] = 0)
Fixes ESLint no-unused-expressions warning.
Diffstat (limited to 'js/pomf.js')
| -rw-r--r-- | js/pomf.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ $(function() { var eachRow = function(files, fn) { var hits = {}; files.forEach(function(file) { - ++hits[file.name] || (hits[file.name] = 0); + ++hits[file.name]; var row = $($('li[data-filename="' + escape(file.name) + '"]')[hits[file.name] || 0]); fn.call(row, row, file, files); |
