From 0aa08b1c1ed58bb718286223e32d7d46047dd505 Mon Sep 17 00:00:00 2001 From: azivner Date: Sat, 18 Aug 2018 14:55:27 +0200 Subject: [PATCH] relation promoted attribute has clickable button, fixes #155 --- src/public/javascripts/services/note_detail.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/public/javascripts/services/note_detail.js b/src/public/javascripts/services/note_detail.js index ed1bb08e7..d69cd2fe2 100644 --- a/src/public/javascripts/services/note_detail.js +++ b/src/public/javascripts/services/note_detail.js @@ -320,6 +320,16 @@ async function loadAttributes() { // no need to wait for this noteAutocompleteService.initNoteAutocomplete($input); + + // ideally we'd use link instead of button which would allow tooltip preview, but + // we can't guarantee updating the link in the a element + const $openButton = $("