Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbedair committed May 20, 2014
1 parent cc9d715 commit 64dd020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 4 additions & 0 deletions src/assets/css/bootstrap-yii.css
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ table td, table th {

}

.dropdown-backdrop {
position: static;
}

/* Gii */
.form.gii .tooltip {
opacity: 1;
Expand Down
11 changes: 0 additions & 11 deletions src/assets/js/bootstrap-noconflict.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,4 @@ var bootstrapButton, bootstrapTooltip;
(function ($) {
bootstrapButton = $.fn.button;
bootstrapTooltip = $.fn.tooltip;

/* fix for #811 based on suggested solution at https://github.com/twbs/bootstrap/issues/4550 */
$('.dropdown a').click(function(e) {
e.preventDefault();
setTimeout($.proxy(function() {
if ('ontouchstart' in document.documentElement) {
$(this).siblings('.dropdown-backdrop').off().remove();
}
}, this), 0);
});

})(jQuery);

0 comments on commit 64dd020

Please sign in to comment.