Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 64f7d3d

Browse files
committed
Show proper content in modal instead of first char
The content returned changed from being a list of one element to just a string.
1 parent a4d0aaf commit 64f7d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hoverxref/_static/js/hoverxref.js_t

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ $(document).ready(function() {
178178
var url = getEmbedURL(url);
179179
$.get(url, function(data) {
180180
var content = $('<div></div>');
181-
content.html(data['content'][0]);
181+
content.html(data['content']);
182182

183183
var h1 = $('h1:first', content);
184184
var title = h1.text()

0 commit comments

Comments
 (0)