]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Blur drilldown elements after hiding them
authorKevin Ball <kmball11@gmail.com>
Thu, 18 Feb 2016 01:35:45 +0000 (17:35 -0800)
committerKevin Ball <kmball11@gmail.com>
Thu, 18 Feb 2016 01:36:39 +0000 (17:36 -0800)
Fixes issue #8177

js/foundation.drilldown.js

index 55ad35c4b8c0530b36adfdd5316aeeb857c72f82..b04ed28a00b88a50f1c4c081f10311b285582eb7 100644 (file)
@@ -263,6 +263,7 @@ class Drilldown {
     $elem.addClass('is-closing')
          .one(Foundation.transitionend($elem), function(){
            $elem.removeClass('is-active is-closing');
+           $elem.blur();
          });
     /**
      * Fires when the submenu is has closed.