diff --git a/src/js/utilsSC.js b/src/js/utilsSC.js index 44adff3c742af50971702ebc3ca999706085c351..087d00cc93c4d94b90e9620873c8b87006d117db 100644 --- a/src/js/utilsSC.js +++ b/src/js/utilsSC.js @@ -90,11 +90,7 @@ App.UI.link = function() { if (passage) { return App.UI.passageLink(linkText, passage, SCHandlerText, tooltip); } else { - if (tooltip) { - throw "Tooltips are not supported by the <<link>> markup."; - } - // data-passage scheme does not work with empty passage name - return `<<link "${linkText}">><<run ${SCHandlerText}>><</link>>`; + return App.UI.passageLink(linkText, SugarCube.State.passage, SCHandlerText, tooltip); } } }();