Show More
@@ -272,7 +272,7 b' class NotebookApp(BaseIPythonApplication):' | |||||
272 | def _mathjax_url_default(self): |
|
272 | def _mathjax_url_default(self): | |
273 | if not self.enable_mathjax: |
|
273 | if not self.enable_mathjax: | |
274 | return u'' |
|
274 | return u'' | |
275 | static_path = os.path.join(os.path.dirname(__file__), "static") |
|
275 | static_path = self.webapp_settings.get("static_path", os.path.join(os.path.dirname(__file__), "static")) | |
276 | if os.path.exists(os.path.join(static_path, 'mathjax', "MathJax.js")): |
|
276 | if os.path.exists(os.path.join(static_path, 'mathjax', "MathJax.js")): | |
277 | self.log.info("Using local MathJax") |
|
277 | self.log.info("Using local MathJax") | |
278 | return u"static/mathjax/MathJax.js" |
|
278 | return u"static/mathjax/MathJax.js" |
General Comments 0
You need to be logged in to leave comments.
Login now