diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js index 529352ab2..adf57b3c8 100644 --- a/js/misc/ibusManager.js +++ b/js/misc/ibusManager.js @@ -6,10 +6,11 @@ const Lang = imports.lang; const Mainloop = imports.mainloop; const Signals = imports.signals; +let IBusCandidatePopup; try { var IBus = imports.gi.IBus; _checkIBusVersion(1, 5, 2); - const IBusCandidatePopup = imports.ui.ibusCandidatePopup; + IBusCandidatePopup = imports.ui.ibusCandidatePopup; } catch (e) { var IBus = null; log(e);