Commit 07ade464 authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

Merge branch 'MDL-69086-37' of git://github.com/andrewnicols/moodle into MOODLE_37_STABLE

parents 19fa0921 c2724bce
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -108,12 +108,11 @@ define(['jquery'], function($) {
moduleTransitions[key].forEach(function(pair) {
var eventStart = pair.start + '.bs.' + key;
var eventEnd = pair.end + '.bs.' + key;
$(document.body).on(eventStart, function() {
$(document.body).on(eventStart, function(e) {
M.util.js_pending(eventEnd);
});
$(document.body).on(eventEnd, function() {
M.util.js_complete(eventEnd);
$(e.target).one(eventEnd, function() {
M.util.js_complete(eventEnd);
});
});
});
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment