PageSourceSearch

https://uptoyoueducacion.com/wp-content/mu-plugins/multi-currency.js?ver=1791178844

js uptoyoueducacion.com collected 2026-10-05 05:45:44 UTC 1,121 bytes, 29 lines download raw bytes

1jQuery(document).ready(function ($) {
2  // Verificar si existe el select .ginput_container_multi_currency
3  if ($('.ginput_container_multi_currency select').length) {
4    // Verificar si el div .ponermxn está visible
5    if ($('.ponermxn').is(':visible')) {
6      // Si el div .ponermxn está visible, establecer el valor del select como "MXN"
7      $('.ginput_container_multi_currency select').val('MXN');
8    } else {
9      // Si el div .ponermxn no está visible, establecer el valor del select como "EUR"
10      $('.ginput_container_multi_currency select').val('EUR');
11    }
12  }
13
14
15  gform.addAction('gform_input_change', (elem, formId, fieldId) => {
16    console.debug("mi input change", elem.type);
17    // if (elem.type !== 'radio') {
18    //   return;
19    // }
20    if (!!window.id_selector_currency
21      && jQuery(window.id_selector_currency).length > 0) {
22      const currentValue = jQuery(window.id_selector_currency).val();
23      if (currentValue !== window.currentCurrency) {
24        jQuery(window.id_selector_currency).val(window.currentCurrency).change();
25      }
26    }
27  });
28});
29

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.