diff options
Diffstat (limited to 'chrome/app/resources/terms/terms_ru.html')
-rw-r--r-- | chrome/app/resources/terms/terms_ru.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/app/resources/terms/terms_ru.html b/chrome/app/resources/terms/terms_ru.html index 5e83bda..35d8553 100644 --- a/chrome/app/resources/terms/terms_ru.html +++ b/chrome/app/resources/terms/terms_ru.html @@ -12,16 +12,16 @@ function carry_tracking(obj) { var s = '(\\?.*)'; var regex = new RegExp(s); var results = regex.exec(window.location.href); - if (results != null) { - obj.href = obj.href + results[1]; - } else { - s2 = 'intl/([^/]*)'; - regex2 = new RegExp(s2); - results2 = regex2.exec(window.location.href); - if (results2 != null) { - obj.href = obj.href + '?hl=' + results2[1]; - } - } + if (results != null) { + obj.href = obj.href + results[1]; + } else { + s2 = 'intl/([^/]*)'; + regex2 = new RegExp(s2); + results2 = regex2.exec(window.location.href); + if (results2 != null) { + obj.href = obj.href + '?hl=' + results2[1]; + } + } } </script></head> |