32 lines
798 B
JavaScript
32 lines
798 B
JavaScript
/**
|
|
* 2010-2022 Webkul.
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* All right is reserved,
|
|
* Please go through LICENSE.txt file inside our module
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade this module to newer
|
|
* versions in the future. If you wish to customize this module for your
|
|
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
|
|
*
|
|
* @author Webkul IN
|
|
* @copyright 2010-2022 Webkul IN
|
|
* @license LICENSE.txt
|
|
*/
|
|
|
|
$(document).ready(function() {
|
|
$(document).on('click', '.btn-language-selector-popup', function(e) {
|
|
e.preventDefault();
|
|
|
|
$.fancybox.open({
|
|
href: '#language-selector-popup',
|
|
wrapCSS: 'fancybox-blocklanguages',
|
|
padding: 0,
|
|
minHeight: 0,
|
|
});
|
|
});
|
|
});
|