This commit is contained in:
Your Name 2020-06-02 23:01:25 +02:00
parent b4c6c77dca
commit 07e20e3d5f

View file

@ -135,7 +135,8 @@
function url_mercato() { function url_mercato() {
var url = window.location.href; var url = window.location.href;
url = url.replace("http://0.0.0.0:8000/#", "") var origin = window.location.origin;
url = url.replace(origin+'/#', '');
//console.log(url); //console.log(url);
$("#search").attr("value", url); $("#search").attr("value", url);
setTimeout(() => { setTimeout(() => {