summaryrefslogtreecommitdiff
path: root/js/liststudy.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/liststudy.js')
-rw-r--r--js/liststudy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/liststudy.js b/js/liststudy.js
index 5ff6aef..ab6eede 100644
--- a/js/liststudy.js
+++ b/js/liststudy.js
@@ -88,7 +88,7 @@ function show_contents_table() {
if (notes[items[i].info[0]]) {
var note = notes[items[i].info[0]];
html += '<tr><td class="invisible_td"></td><td class="study_note_td" colspan="'
- + (items[i].info.length) + '">' + note + '</td></tr>';
+ + (items[i].info.length) + '">' + note.replace(/\|\|/g, '<br/>') + '</td></tr>';
}
}
html += '</table>';
@@ -135,7 +135,7 @@ function show_reviews_table() {
function edit_note(id) {
var idd = items[id].info[0];
- var note = prompt("Add note for item: ", notes[idd] || '');
+ var note = prompt("Add note for item:\n(you might want to add a long note, so I'm adding this text to make the prompt box bigger)", notes[idd] || '');
if (note != null) notes[idd] = note;
if (notes[idd] == '') delete notes[idd];
show_contents_table();