diff --git a/zenodo_greasemonkey.user.js b/zenodo_greasemonkey.user.js index 9a01d14..bb46a89 100644 --- a/zenodo_greasemonkey.user.js +++ b/zenodo_greasemonkey.user.js @@ -366,11 +366,13 @@ function addButtons() { let referencesElement = $("div#references"); if (referencesElement.length) { let referencesCheck = $(' Relevant sources? '); + referencesCheck.attr("title", checklistData["N7"].full); referencesCheck.tooltip(); referencesElement.append(referencesCheck); } else { referencesElement = $("div#citation"); let referencesCheck = $(' No "References" section, is this OK? '); + referencesCheck.attr("title", checklistData["N7"].full); referencesCheck.tooltip(); referencesElement.prepend(referencesCheck); } @@ -379,20 +381,20 @@ function addButtons() { console.log('Keywords', keywords); if (keywords.length) { let keywordCheck = $(' '); + keywordCheck.attr("title", checklistData["N8"].full); keywordCheck.tooltip(); keywords.append(keywordCheck); } else { let keywordCheck = $('
No keywords here, is it OK?  
'); + rkeywordCheck.attr("title", checklistData["N8"].full); keywordCheck.tooltip(); importantFrame.append(keywordCheck); } contentElement.prepend(contentChecks); - } - function openMailEditor(url) { location.href = url; }