Personale

// WORKAROUND FOR ISSUE: #873 kQuery(function($) { $.magnificPopup.instance._onFocusIn = function(e) { // Do nothing if target element is select2 input if( $(e.target).hasClass('select2-search__field') ) { return true; } // Else call parent method $.magnificPopup.proto._onFocusIn.call(this,e); }; }); kQuery(function($){ $('[data-k-modal]').each(function(idx, el) { var el = $(el); var data = el.data('k-modal'); var options = { "type": "image" }; if (data) { $.extend(true, options, data); } el.magnificPopup(options); }); });document.documentElement.classList.add('k-js-enabled');