From 832085ba56d2ddc364ae67b17e393a8a3ced0c93 Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Thu, 12 Jan 2017 16:13:00 +0500 Subject: [PATCH] =?UTF-8?q?URL=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB?= =?UTF-8?q?=D1=87=D0=B0=D0=BD=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/feminitives.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/feminitives.js b/js/feminitives.js index 1e88bf4..133eca6 100644 --- a/js/feminitives.js +++ b/js/feminitives.js @@ -378,6 +378,8 @@ URL.parse = function() { let ft = arg.split("="); this.opt[ft[0]] = this.opt[ft[0]] || decodeURIComponent(ft[1]); }); + + this.opt.href = encodeURIComponent(window.location.href); }; //Инициализация с разбором адресной строки