Skip to content

Commit

Permalink
setting choose panel: on change, update local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolpz committed Dec 11, 2023
1 parent feabd3e commit b638442
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ var browser = browser || chrome;
showvideoWidget.on( 'change', _backgroundPage.storeParam.bind( _backgroundPage, 'showvideo' ) );
// Listen for item selection events
choosepanelsWidget.on('choose', (d)=>{
_backgroundPage.storeParam('showvideo', d.getData());

_backgroundPage.storeParam('choosepanels', d.getData());
});

// Build Settings UI
Expand Down

0 comments on commit b638442

Please sign in to comment.