fixed UI for relation definition

This commit is contained in:
azivner
2018-08-05 20:48:56 +02:00
parent 2089c32839
commit 194ce4f10f
3 changed files with 15 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ function setupTooltip() {
if (note.type === 'text') {
callback(note.content);
}
else if (note.type === 'code') {console.log($("<pre>").text(note.content).html());
else if (note.type === 'code') {
callback($("<pre>").text(note.content).prop('outerHTML'));
}
// other types of notes don't have tooltip preview