Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Revert "blur get more languages link after click, r=yzen" (Bug 1220515)
Browse files Browse the repository at this point in the history
This reverts commit 56b018a.
  • Loading branch information
KevinGrandon committed Nov 2, 2015
1 parent b4e74d5 commit bfcf8e9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/settings/js/panels/languages/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ define(function(require) {
}
},
showMoreLanguages: function() {
this.elements.moreLanguages.blur();
SettingsCache.getSettings(function(result) {
var version = result['langpack.channel'];
/* jshint nonew: false */
Expand All @@ -68,11 +67,9 @@ define(function(require) {
// see https://bugzil.la/1124098. On other device types the link to the
// Marketpace is hidden. Don't set the handler if it's display: none.
if (this.elements.moreLanguages.offsetParent) {
this.elements.moreLanguages.addEventListener('click',
this.showMoreLanguages.bind(this));
this.elements.moreLanguages.onclick = this.showMoreLanguages;
}
this.elements.langSel.addEventListener('blur',
this.buildList.bind(this));
this.elements.langSel.onblur = this.buildList.bind(this);
},
onLocalized: function() {
// update keyboard layout
Expand Down

0 comments on commit bfcf8e9

Please sign in to comment.