www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 1ae3d0749285e56cf7f1b99521aef1e8933f5657
parent 2aae846cf4e6a44389c92ed00132ac8a89b57d7d
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Fri, 21 Jul 2017 03:30:18 +0200

Small fix [fastbuild]

Diffstat:
Mrun-mathjax-offline.node.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-mathjax-offline.node.js b/run-mathjax-offline.node.js @@ -77,7 +77,7 @@ jsdom.env('doc/phc-thesis/index.html', function(err, window) { } }; // Remove the script which loads MathJax automatically, as it slows down things a lot when it re-renders the math. - var scriptsInHead = window.document.head.getElementByTagName('script'); + var scriptsInHead = window.document.head.getElementsByTagName('script'); for (var i = 0; i < scriptsInHead.length; i++) { var e = scriptsInHead.item(i); if (e.innerHTML.trim() == decodeURI("(function()%20%7Bdocument.write('%3Cscr'%20+%20'ipt%20type=%22text/javascript%22%20src=%22MathJax/MathJax.js?config=default%22%3E%3C/scr'%20+%20'ipt%3E');%7D)();")) {