// need to have the same with set from JS on both divs. Otherwise it can push stuff around in HTML
var trp_ls_shortcodes = document.querySelectorAll('.trp_language_switcher_shortcode .trp-language-switcher');
if ( trp_ls_shortcodes.length > 0) {
// get the last language switcher added
var trp_el = trp_ls_shortcodes[trp_ls_shortcodes.length - 1];
var trp_shortcode_language_item = trp_el.querySelector( '.trp-ls-shortcode-language' )
// set width
var trp_ls_shortcode_width = trp_shortcode_language_item.offsetWidth + 16;
trp_shortcode_language_item.style.width = trp_ls_shortcode_width + 'px';
trp_el.querySelector( '.trp-ls-shortcode-current-language' ).style.width = trp_ls_shortcode_width + 'px';
// We're putting this on display: none after we have its width.
trp_shortcode_language_item.style.display = 'none';
}
Το προϊόν “[:el]Perfection με άρωμα creme brulee και άνθη πορτοκαλιάς[:en] Perfection with creme brulee perfume and orange blossoms[:]” έχει προστεθεί στο καλάθι σας. Προβολή καλαθιού
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.