' + state.text + '' ); return $state; } $("#selCurrency").select2({ templateResult: formatState, templateSelection: formatState, dropdownCssClass: "header-top-dropdown" }); $('#communication_chanel').select2({ templateResult: formatState, templateSelection: formatState, dropdownCssClass: "communication-dropdown" }); $('#animated-thumbnials').lightGallery({ thumbnail: true, loop: false, download: false, counter: false, width: '700px', height: '470px', addClass: 'fixed-size', startClass: '', enableSwipe: false, enableDrag: false, speed: 500 });