From 7b09c76c8d4a8284d2ef58d31452999218feae07 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 24 Sep 2015 17:26:06 +1000 Subject: Addition symbol prevented urls from being passed Fix bug introduced in 6c82d36307. --- js/pomf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/pomf.js') diff --git a/js/pomf.js b/js/pomf.js index 560dd8e..c2e6264 100644 --- a/js/pomf.js +++ b/js/pomf.js @@ -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); }); }; -- cgit v1.2.3