Skip to content

Commit b3f3985

Browse files
authored
Update MoinMoin plugin
1 parent f408037 commit b3f3985

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

contrib/moinmoin/sagecell.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
1717
You must also something like these lines in your wikiconfig::
1818
19-
html_head = '<script type="text/javascript" src="http://aleph.sagemath.org/static/jquery.min.js"></script>'
20-
html_head += '<script type="text/javascript" src="http://aleph.sagemath.org/static/embedded_sagecell.js"></script>'
19+
html_head = '<script type="text/javascript" src="https://sagecell.sagemath.org/static/embedded_sagecell.js"></script>'
2120
html_head += '<style type="text/css">.sagecell_output th, .sagecell_output td {border: none;}</style>'
2221
2322
@@ -30,9 +29,7 @@
3029
template="""
3130
<div id="sagecell-%(random)s"><script type="text/x-sage">%(code)s</script></div>
3231
<script type="text/javascript">
33-
$(function () {
3432
sagecell.makeSagecell({inputLocation: '#sagecell-%(random)s'});
35-
});
3633
</script>
3734
"""
3835

0 commit comments

Comments
 (0)