Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Bug 974653 - Translation Bar should use relative redirect

  • Loading branch information...
commit 3df794d43566fec04ee0b908cfbe958e6348e21c 1 parent 95e62bb
@kyoshino kyoshino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bedrock/tabzilla/templates/tabzilla/tabzilla.js
View
2  bedrock/tabzilla/templates/tabzilla/tabzilla.js
@@ -419,7 +419,7 @@ var Tabzilla = (function (Tabzilla) {
trackLabel: userLang,
callback: function () {
if (langLink.length) {
- location.href = langLink.attr('href');
+ location.href = langLink.attr('href').replace(/^https?\:\/\/[^/]+/, '');
} else {
langOption.attr('selected', 'selected').get(0).form.submit();
}
Please sign in to comment.
Something went wrong with that request. Please try again.