Skip to content

Instantly share code, notes, and snippets.

View Bosc85's full-sized avatar
🗑️

Gabriele Boscaratto Bosc85

🗑️
View GitHub Profile
@Bosc85
Bosc85 / bootstrap3VsPrototype.js
Created November 18, 2016 09:08
resolve conflicts between bootstrap 3 and prototype on a magento website, include this after jquery and prototype
(function() {
var isBootstrapEvent = false;
if (window.jQuery) {
var all = jQuery('*');
jQuery.each(['hide.bs.dropdown',
'hide.bs.collapse',
'hide.bs.modal',
'hide.bs.tooltip',
'hide.bs.popover',
'hide.bs.tab'], function(index, eventName) {