pixelgrade / fonto

Web Fonts Manager for WordPress
https://wordpress.org/plugins/fonto/
GNU General Public License v2.0
2 stars 0 forks source link

Visual Composer Conflict #10

Open yerooleopard opened 7 years ago

yerooleopard commented 7 years ago

Hello pixelgrade,

I found some issue. When Fonto and Visual Composer are activated there is some js conflict and both plugins stop working.

I found that code $.each(['show', 'hide'], function (i, ev) { var el = $.fn[ev]; $.fn[ev] = function () { this.trigger(ev); return el.apply(this, arguments); }; }); from "includes\vendor\cmb2-conditionals\cmb2-conditionals.js" cause this conflict.

I solved it in my theme by overriding this file with my own "cmb2-conditionals.js", removing this part of code, but I thought it may be interesting to look for you.

Image of Yaktocat

Thanks, Adrian