]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Merge pull request #11833 from DanielRuf/refactor/remove-unused-code
authorJoe Workman <joe@workmanmail.com>
Mon, 3 Feb 2020 19:32:15 +0000 (11:32 -0800)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 19:32:15 +0000 (11:32 -0800)
refactor: remove some unused code

1  2 
js/foundation.core.utils.js

index cb7013b30bfabe4b5a89b57d91bd2a7956d2f748,def3547883cf9209f16785cbed370615fe7760db..78c53461d724837dcf99306e23b8a8f0f2f53a33
@@@ -56,10 -56,10 +56,10 @@@ function transitionend($elem)
        end = transitions[transition];
      }
    }
 -  if(end){
 +  if (end) {
      return end;
-   }else{
-     end = setTimeout(function(){
+   } else {
+     setTimeout(function(){
        $elem.triggerHandler('transitionend', [$elem]);
      }, 1);
      return 'transitionend';