File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ function getDefaultProvidersClone() {
2929function createContextMenu ( storageProviders ) {
3030 const title = chrome . i18n . getMessage ( 'contextMenuTitle' ) ;
3131
32- const selectedProviders = storageProviders . filter ( p => p . selected ) ;
32+ console . log ( storageProviders ) ;
33+ const selectedProviders = storageProviders . storageProviders . filter ( p => p . selected ) ;
3334
3435 /* If there is only one search provider, do not create a submenu */
3536 if ( selectedProviders . length === 1 ) {
Original file line number Diff line number Diff line change 44 "name" : " __MSG_extensionName__" ,
55 "description" : " __MSG_extensionDescription__" ,
66 "author" : " Andreas Bielawski" ,
7- "version" : " 3.1.2 " ,
7+ "version" : " 3.1.3 " ,
88 "icons" : {
99 "16" : " icons/16.png" ,
1010 "32" : " icons/32.png" ,
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ saveOptions.onclick = () => {
257257
258258 /* All input valid */
259259 chrome . contextMenus . removeAll ( ) ;
260- backgroundPage . createContextMenu ( storedSettings . storageProviders ) ;
260+ backgroundPage . createContextMenu ( storedSettings ) ;
261261 chrome . storage . sync . set ( storedSettings , ( ) => {
262262 for ( const msg of $$ ( '.alert-danger' ) ) {
263263 msg . classList . add ( 'hidden' ) ;
You can’t perform that action at this time.
0 commit comments