Show More
@@ -464,7 +464,8 b' class NotebookApp(BaseIPythonApplication):' | |||
|
464 | 464 | if not self.enable_mathjax: |
|
465 | 465 | return u'' |
|
466 | 466 | static_url_prefix = self.webapp_settings.get("static_url_prefix", |
|
467 | "/static/") | |
|
467 | url_path_join(self.base_project_url, "static") | |
|
468 | ) | |
|
468 | 469 | try: |
|
469 | 470 | mathjax = filefind(os.path.join('mathjax', 'MathJax.js'), self.static_file_path) |
|
470 | 471 | except IOError: |
@@ -479,7 +480,7 b' class NotebookApp(BaseIPythonApplication):' | |||
|
479 | 480 | return url |
|
480 | 481 | else: |
|
481 | 482 | self.log.info("Using local MathJax from %s" % mathjax) |
|
482 |
return static_url_prefix |
|
|
483 | return url_path_join(static_url_prefix, u"mathjax/MathJax.js") | |
|
483 | 484 | |
|
484 | 485 | def _mathjax_url_changed(self, name, old, new): |
|
485 | 486 | if new and not self.enable_mathjax: |
General Comments 0
You need to be logged in to leave comments.
Login now