Merge branch 'MDL-67117-master-2' of git://github.com/marinaglancy/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 5 Nov 2019 00:03:58 +0000 (01:03 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 5 Nov 2019 00:03:58 +0000 (01:03 +0100)
filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-debug.js
filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-min.js
filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader.js
filter/mathjaxloader/yui/src/loader/js/loader.js

index b22217e..c2441d2 100644 (file)
Binary files a/filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-debug.js and b/filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-debug.js differ
index 809018e..dec529d 100644 (file)
Binary files a/filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-min.js and b/filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader-min.js differ
index b22217e..c2441d2 100644 (file)
Binary files a/filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader.js and b/filter/mathjaxloader/yui/build/moodle-filter_mathjaxloader-loader/moodle-filter_mathjaxloader-loader.js differ
index 9be8157..1258a5c 100644 (file)
@@ -117,6 +117,8 @@ M.filter_mathjaxloader = M.filter_mathjaxloader || {
             var processdelay = window.MathJax.Hub.processSectionDelay;
             // Set the process section delay to 0 when updating the formula.
             window.MathJax.Hub.processSectionDelay = 0;
+            // When content is updated never position to hash, it may cause unexpected document scrolling.
+            window.MathJax.Hub.Config({positionToHash: false});
             self._setLocale();
             event.nodes.each(function(node) {
                 node.all('.filter_mathjaxloader_equation').each(function(node) {