[mlpack] 03/10: Fix doxygen footer JS to draw correctly.

Barak A. Pearlmutter barak+git at pearlmutter.net
Wed Jul 26 21:50:56 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit f45a64d4084d7acda02de3c771dcc51b4769bcc1
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Jul 18 14:16:16 2017 -0400

    Fix doxygen footer JS to draw correctly.
---
 doc/doxygen/footer.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/doxygen/footer.html b/doc/doxygen/footer.html
index 5641521..730f025 100644
--- a/doc/doxygen/footer.html
+++ b/doc/doxygen/footer.html
@@ -6,11 +6,11 @@ Generated by  <a href="http://www.doxygen.org/index.html">
 </small></address>
 </body>
 <script type="text/javascript">
-var x = document.getElementsByClassName("formulaDsp");
+var x = document.querySelectorAll("img.formulaDsp");
 var i;
 for (i = 0; i < x.length; i++)
 {
-  x[i].width /= 4;
+  x[i].width = x[i].offsetWidth / 4;
 }
 </script>
 </html>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list