We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
element.href
data-url
1 parent 56beaf4 commit 63bd0d8Copy full SHA for 63bd0d8
hoverxref/_static/js/hoverxref.js_t
@@ -174,7 +174,9 @@ $(document).ready(function() {
174
{% endif %}
175
176
function showModal(element) {
177
- var url = element.data('url');
+ // TODO: we are failing on some elements to set the URL from the
178
+ // backend, but we can use `href` instead.
179
+ var url = element.data('url') || element.href;
180
var url = getEmbedURL(url);
181
$.get(url, function(data) {
182
var content = $('<div></div>');
0 commit comments