Browse files

Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

  • Loading branch information...
2 parents 5d8690a + 94eacd8 commit 49bffd7ba35a6955980a43d072b091f455989b6c @distler distler committed Sep 30, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −2 app/views/layouts/default.rhtml
  2. +0 −2 app/views/wiki/s5.rhtml
View
2 app/views/layouts/default.rhtml
@@ -43,14 +43,12 @@
extensions: ["handle-floats.js"]
}
});
- if (window._onload_fired_) MathJax.Hub.Startup.onload();
</script>
<script type="text/javascript">
if (!(Prototype.Browser.Gecko || navigator.userAgent.match(/MathPlayer/))) {
var s = document.createElement('script');
s.src = "<%= compute_public_path('MathJax.js', 'MathJax').split('?')[0] %>?config=MML_HTMLorMML-full";
document.querySelector('head').appendChild(s);
- window.addEventListener("load", function(){window._onload_fired_ = true} , false);
};
</script>
<%- end -%>
View
2 app/views/wiki/s5.rhtml
@@ -30,14 +30,12 @@
extensions: ["handle-floats.js"]
}
});
- if (window._onload_fired_) MathJax.Hub.Startup.onload();
</script>
<script type="text/javascript">
if (!(Prototype.Browser.Gecko || navigator.userAgent.match(/MathPlayer/))) {
var s = document.createElement('script');
s.src = "<%= compute_public_path('MathJax.js', 'MathJax').split('?')[0] %>?config=MML_HTMLorMML-full";
document.querySelector('head').appendChild(s);
- window.addEventListener("load", function(){window._onload_fired_ = true} , false);
};
</script>
<%- end -%>

0 comments on commit 49bffd7

Please sign in to comment.