]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #8232
authorJacob Thornton <jacobthornton@gmail.com>
Wed, 24 Jul 2013 03:53:12 +0000 (20:53 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Wed, 24 Jul 2013 03:53:12 +0000 (20:53 -0700)
js/dropdown.js

index 8aee574fa0e164e84e476e2361c6da2570738197..5bf051e86a38c1d95d4eaead169bc937b7dd0250 100644 (file)
@@ -42,7 +42,7 @@
     if (!isActive) {
       if ('ontouchstart' in document.documentElement) {
         // if mobile we we use a backdrop because click events don't delegate
-        $('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
+        $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
       }
 
       $parent.trigger(e = $.Event('show.bs.dropdown'))