Commit dc40387d authored by Lukas Eipert's avatar Lukas Eipert Committed by Mike Greiling

Turn off disabling of jquery animations

parent c1de0d70
...@@ -44,18 +44,8 @@ applyGitLabUIConfig(); ...@@ -44,18 +44,8 @@ applyGitLabUIConfig();
window.jQuery = jQuery; window.jQuery = jQuery;
window.$ = jQuery; window.$ = jQuery;
function disableJQueryAnimations() {
$.fx.off = true;
}
// Disable jQuery animations
if (gon?.disable_animations) {
disableJQueryAnimations();
}
// inject test utilities if necessary // inject test utilities if necessary
if (process.env.NODE_ENV !== 'production' && gon?.test_env) { if (process.env.NODE_ENV !== 'production' && gon?.test_env) {
disableJQueryAnimations();
import(/* webpackMode: "eager" */ './test_utils/'); import(/* webpackMode: "eager" */ './test_utils/');
} }
......
Markdown is supported
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