From fab318b2a28d3d38f379d40ec601a389ea5b329c Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Thu, 12 Jan 2017 15:48:35 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B7=D0=B0?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D1=8C=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D0=B0?= =?UTF-8?q?=20=D0=BF=D1=80=D0=B8=20=D0=BA=D0=B0=D0=B6=D0=B4=D0=BE=D0=BC=20?= =?UTF-8?q?=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D0=B8=20?= =?UTF-8?q?tr()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/feminitives.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/feminitives.js b/js/feminitives.js index bb5691a..1e88bf4 100644 --- a/js/feminitives.js +++ b/js/feminitives.js @@ -339,8 +339,6 @@ function tr(word) { var wd = word || HTML.input().value.trim().toLowerCase().split(" ")[0]; var feminitives = ""; - URL.opt.href = encodeURIComponent(window.location.href); - HTML.dict().innerHTML = ""; HTML.content().innerHTML = ""; @@ -366,6 +364,7 @@ function tr(word) { //Изменение адреса window.history.pushState({}, null, window.location.href.split('?')[0]+'?word='+wd); + URL.opt.href = encodeURIComponent(window.location.href); } //------------------------------------------------------------------------------