url
This commit is contained in:
parent
b4c6c77dca
commit
07e20e3d5f
1 changed files with 2 additions and 1 deletions
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in a new issue