diff options
author | Andrew Dolgov <[email protected]> | 2018-07-02 16:33:57 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-07-02 16:33:57 +0300 |
commit | aa1aa65ed80513c63daab8a0cb96e673b17104a8 (patch) | |
tree | df4d4aba904e439b1540e1b6a10d2a41a730c027 /js | |
parent | 892259c5821aa83d4b55e81cf38650f1ec5145a4 (diff) |
add locations to search results
Diffstat (limited to 'js')
-rw-r--r-- | js/read.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ function search() { $.each(results, function (i, row) { var a = $("<a>") .attr('href', '#') - .html(row.excerpt) + .html("<b class='pull-right'>" + window.book.locations.locationFromCfi(row.cfi) + "</b>" + row.excerpt) .attr('data-cfi', row.cfi) .attr('data-id', row.id) .click(function() { |