1

問題は、angularjs ng-include を使用してパーシャルをロードしていて、mathquill ボックスがパーシャルにあることです。

<script src="/MathQuill/mathquill.js"></script>

部分ビューでは問題なく動作しますが、警告が表示されます。

Synchronous XMLHttpRequest on the main thread is deprecated because of its   detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

私が入れたら

<script src="/MathQuill/mathquill.js"></script>

メイン ビューでは、パーシャルをロードした後、mathquill がまったく機能しないので、これはレンダリングの問題ですか? 部分ビューを再レンダリングするにはどうすればよいですか? そうでない場合、どうすれば解決できますか?

4

1 に答える 1