From f16f6fd1264d1c88fe9d2dc8f7e6bba99c893748 Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 21 Jul 2014 12:44:48 +0100 Subject: [PATCH] Don't render Mathjax on load --- services/web/public/coffee/ide/chat/directives/mathjax.coffee | 2 +- services/web/public/stylesheets/app/editor/chat.less | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/chat/directives/mathjax.coffee b/services/web/public/coffee/ide/chat/directives/mathjax.coffee index c2c211717a..1a0b0c45c2 100644 --- a/services/web/public/coffee/ide/chat/directives/mathjax.coffee +++ b/services/web/public/coffee/ide/chat/directives/mathjax.coffee @@ -11,7 +11,7 @@ define [ inlineMath: [ ['$','$'], ["\\(","\\)"] ], displayMath: [ ['$$','$$'], ["\\[","\\]"] ], processEscapes: true - + skipStartupTypeset: true MathJax.Hub.Config(mathjaxConfig); diff --git a/services/web/public/stylesheets/app/editor/chat.less b/services/web/public/stylesheets/app/editor/chat.less index 08370bce55..f46e438801 100644 --- a/services/web/public/stylesheets/app/editor/chat.less +++ b/services/web/public/stylesheets/app/editor/chat.less @@ -115,6 +115,8 @@ padding: @line-height-computed / 4; border-top: 1px solid @toolbar-border-color; textarea { + overflow: auto; + resize: none; border-radius: @border-radius-base; border: 1px solid @toolbar-border-color; height: 100%;