From 5fe0b36cd6fd2192a195f41f3a3da8686b446e42 Mon Sep 17 00:00:00 2001 From: niuage Date: Fri, 5 Mar 2021 12:35:01 +0100 Subject: [PATCH] remove animation from reveal modals. It is useless and f*cks with our tests. --- app/assets/javascripts/reimagine2/base.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/reimagine2/base.coffee b/app/assets/javascripts/reimagine2/base.coffee index 50e8f493..869d05d4 100644 --- a/app/assets/javascripts/reimagine2/base.coffee +++ b/app/assets/javascripts/reimagine2/base.coffee @@ -2,6 +2,7 @@ class Reimagine2 constructor: -> unless $('html').hasClass('lt-ie9') $(document).foundation() + $(document).foundation('reveal', { animationSpeed: 0 }) Reimagine2.responsiveTables() Reimagine2.accessibleGlobalNav() Reimagine2.mobileGlobalNav()