]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/_global/index.js
Added MathJax support
[github/wallabag/wallabag.git] / app / Resources / static / themes / _global / index.js
index 66ac063bc97961ad4bac4d9629b62ad41a372979..88365270e686e889646f852cdcd0f2d343a53ef2 100644 (file)
@@ -5,6 +5,7 @@ import $ from 'jquery';
 import annotator from 'annotator';
 
 import ClipboardJS from 'clipboard';
+import 'mathjax/es5/tex-svg';
 
 /* Fonts */
 import 'material-design-icons-iconfont/dist/material-design-icons.css';
@@ -113,8 +114,6 @@ $(document).ready(() => {
   // handle copy to clipboard for developer stuff
   const clipboard = new ClipboardJS('.btn');
   clipboard.on('success', (e) => {
-    console.info(e.text);
-
     e.clearSelection();
   });
 });