diff options
author | ache <ache@ache.one> | 2017-11-24 05:47:37 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2017-11-24 05:47:37 +0100 |
commit | 888272ec9f02cbbf1c86a7a3eaf26e1fbcde1d19 (patch) | |
tree | ce89e099a35d87126a8849bf78c5c209c2691988 /public/js/script.js | |
parent | HTML safe off (diff) |
Clean up of useless script and css
Diffstat (limited to 'public/js/script.js')
-rw-r--r-- | public/js/script.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/js/script.js b/public/js/script.js index 4c9769a..cbc4221 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -7,13 +7,16 @@ $(document).ready(function() { e.stopPropagation(); $.get(this.href, function(data) { $('#md').html(data); + MathJax.Hub.Queue(["Typeset", MathJax.Hub]); }); }); + $('.directory').find('ul').hide(); $('.directory').click(function(e) { e.stopPropagation(); $(this).children('ul').slideToggle(); + MathJax.Hub.Queue(["Typeset", MathJax.Hub]); }); }); }); |