Skip to content

Commit cb38a30

Browse files
committed
Merge pull request EFForg#3501 from real-dam/master
load FAQ after install only if requested
2 parents 618c0df + 806e329 commit cb38a30

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

src/chrome/content/toolbar_button.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,15 @@ httpsEverywhere.toolbarButton = {
146146
'https-everywhere',
147147
'chrome://https-everywhere/skin/https-everywhere-24.png',
148148
nBox.PRIORITY_WARNING_MEDIUM,
149-
[],
150-
function(action) {
151-
// see https://developer.mozilla.org/en-US/docs/XUL/Method/appendNotification#Notification_box_events
152-
gBrowser.selectedTab = gBrowser.addTab(faqURL);
153-
});
149+
[
150+
{ accessKey: 'F',
151+
callback: function(ntf, btn) {
152+
// see https://developer.mozilla.org/en-US/docs/XUL/Method/appendNotification#Notification_box_events
153+
gBrowser.selectedTab = gBrowser.addTab(faqURL);
154+
},
155+
label: 'FAQ…',
156+
}
157+
]);
154158
}
155159
gBrowser.removeEventListener("DOMContentLoaded", tb.handleShowHint, true);
156160
},

0 commit comments

Comments
 (0)