From 94f52527282846783c9256b7ba0f2db83c218511 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Sat, 16 Jan 2016 16:01:57 +0100 Subject: [PATCH] Remove unnecessary hint markers in the Add-ons Manager --- extension/lib/commands-frame.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extension/lib/commands-frame.coffee b/extension/lib/commands-frame.coffee index e53015e..33a98e4 100644 --- a/extension/lib/commands-frame.coffee +++ b/extension/lib/commands-frame.coffee @@ -166,9 +166,9 @@ commands.follow = helper_follow.bind(null, {id: 'normal'}, element.hasAttribute('data-uri') or element.hasAttribute('data-page-action') or # CodeMirror. - element.classList?.contains('CodeMirror-scroll') or + element.classList.contains('CodeMirror-scroll') or # Google Drive Document. - element.classList?.contains('kix-appview-editor') + element.classList.contains('kix-appview-editor') type = 'clickable' semantic = false # Facebook comment fields. @@ -202,6 +202,7 @@ commands.follow = helper_follow.bind(null, {id: 'normal'}, (element.classList.contains('overflowing') or element.classList.contains('shrinkToFit')) type = 'clickable' + type = null if isXUL and element.classList.contains('textbox-input') return {type, semantic} ) -- 2.39.3