Skip to content

Commit

Permalink
FIX: Coding a fragments by hitting 'enter'
Browse files Browse the repository at this point in the history
The selected text integrates
* a linked quotation in the body of the coding memo (#106)
* groundings of the coding memo (#111).
  • Loading branch information
christophe-lejeune committed Nov 25, 2021
1 parent 6266d9b commit e81a08a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ var shared = {
$('#leave-name').on('keypress', function(key) {\
if (['coding','diagram'].indexOf('{{type}}') < 0 && key.which == 13) {\
var classlist = $(this)[0].nextElementSibling.childNodes[1].nextElementSibling.classList;\
create(classlist[classlist.length - 1], $('#leave-name').val().trim(), $('#kwic').val());\
create(classlist[classlist.length - 1], $('#leave-name').val().trim(), $('#kwic').val(), anchor);\
}\
});\
function create(type, name, highlight, anchor) {\
Expand Down
2 changes: 1 addition & 1 deletion app/shows/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function(o, req) {
return {
body: JSON.stringify({
service: 'Cassandre',
revision: '3.21.11.24',
revision: '3.21.11.25',
update_seq: req.info.update_seq
})
}
Expand Down

0 comments on commit e81a08a

Please sign in to comment.