1$(document).ready(function () { 2 3 if (document.getElementsByClassName("banner-inmotek")[0] != undefined) { 4 5 let slider_name = $(".banner-inmotek").data("sliderfoto"); 6 7 if (isUrl(slider_name)) { 8 9 document.getElementsByClassName("banner-inmotek")[0].style.backgroundImage = "url('" + slider_name + "')"; 10 11 } else { 12 13 if (slider_name.includes('myweb')) { 14 document.getElementsByClassName("banner-inmotek")[0].style.backgroundImage = `url('${slider_name}')`; 15 } else { 16 let url = "/media/" + get_codename() + "/myweb/" + slider_name; 17 //La funcion .css de Jquery no se ejecutaba correctamente en IE del windows 10, por ello se usa Js nativo 18 document.getElementsByClassName("banner-inmotek")[0].style.backgroundImage = `url('${url}')`; 19 } 20 } 21 } 22});
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.