diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2015-09-24 09:26:06 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2015-09-24 09:26:06 +0200 |
| commit | 16515a67ff2943a91c4e5678840933460b53e9c0 (patch) | |
| tree | 1e09aaf2aab7c76089c07483dfdf500a1b32e691 | |
| parent | c76f70ccb65ced968535e37d8f11f2623bd37ed6 (diff) | |
Fix bug introduced in 6c82d36307. Newline broke JS
| -rw-r--r-- | js/pomf.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,8 +117,8 @@ $(function() { var hits = {}; files.forEach(function(file) { ++hits[file.name] || (hits[file.name] = 0); - var row = $($('li[data-filename="' + escape(file.name) + '"]') + - [hits[file.name] || 0]); + var row = $($('li[data-filename="' + + escape(file.name) + '"]')[hits[file.name] || 0]); fn.call(row, row, file, files); }); }; |
