summaryrefslogtreecommitdiff
path: root/ext/js/accessibility
diff options
context:
space:
mode:
authorJames Maa <jmaa@berkeley.edu>2024-05-31 08:06:52 -0700
committerGitHub <noreply@github.com>2024-05-31 15:06:52 +0000
commit76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch)
treebdba43d9ba704885383c7f308c6fe3f574c647c5 /ext/js/accessibility
parentb3f54747eb2694bdc90bce72e5532e99d374ef08 (diff)
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule * Fix dangling commas
Diffstat (limited to 'ext/js/accessibility')
-rw-r--r--ext/js/accessibility/accessibility-controller.js4
-rw-r--r--ext/js/accessibility/google-docs-util.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/accessibility/accessibility-controller.js b/ext/js/accessibility/accessibility-controller.js
index 0412b337..8ba998d9 100644
--- a/ext/js/accessibility/accessibility-controller.js
+++ b/ext/js/accessibility/accessibility-controller.js
@@ -115,8 +115,8 @@ export class AccessibilityController {
js: [
xray ?
'js/accessibility/google-docs-xray.js' :
- 'js/accessibility/google-docs.js'
- ]
+ 'js/accessibility/google-docs.js',
+ ],
};
if (!xray) { details.world = 'MAIN'; }
return registerContentScript(id, details);
diff --git a/ext/js/accessibility/google-docs-util.js b/ext/js/accessibility/google-docs-util.js
index f3f800fd..c915487a 100644
--- a/ext/js/accessibility/google-docs-util.js
+++ b/ext/js/accessibility/google-docs-util.js
@@ -62,7 +62,7 @@ export class GoogleDocsUtil {
const style = document.createElement('style');
style.textContent = [
'.kix-canvas-tile-content{pointer-events:none!important;}',
- '.kix-canvas-tile-content svg>g>rect{pointer-events:all!important;}'
+ '.kix-canvas-tile-content svg>g>rect{pointer-events:all!important;}',
].join('\n');
const parent = document.head || document.documentElement;
if (parent !== null) {