mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065848 - Only load AccessFu.jsm when we really need it. r=eeejay
This commit is contained in:
parent
c2de2fc5e5
commit
ccff1279ec
@ -325,6 +325,9 @@ setUpdateTrackingId();
|
||||
(function setupAccessibility() {
|
||||
let accessibilityScope = {};
|
||||
SettingsListener.observe("accessibility.screenreader", false, function(value) {
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
if (!('AccessFu' in accessibilityScope)) {
|
||||
Cu.import('resource://gre/modules/accessibility/AccessFu.jsm',
|
||||
accessibilityScope);
|
||||
|
Loading…
Reference in New Issue
Block a user