Skip to content

Commit

Permalink
Remove issue 342 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
timdream committed Feb 16, 2012
1 parent b3df00f commit 8576df7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions apps/homescreen/js/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ const IMEManager = {
var keyboardSettingRequest = function keyboardSettingRequest(key) {
var request = navigator.mozSettings.get('keyboard.layouts.' + key);
request.onsuccess = (function onsuccess(evt) {
// XXX: workaround with gaia issue 342
if (keyboardSettingGroupKeys.indexOf(key) !== i)
return;

if (request.result.value === 'true') {
this.keyboards = this.keyboards.concat(
Expand All @@ -77,9 +74,6 @@ const IMEManager = {
}).bind(this);

request.onerror = (function onerror(evt) {
// XXX: workaround with gaia issue 342
if (keyboardSettingGroupKeys.indexOf(key) !== i)
return;

dump('Having trouble getting setting for keyboard setting group: ' + key);

Expand Down

0 comments on commit 8576df7

Please sign in to comment.