MitchellMarkGeorge / TabButler

A tab manager at your service.
https://tabbutler.netlify.app/
MIT License
43 stars 5 forks source link

fixed only current window bug #72

Closed MitchellMarkGeorge closed 2 years ago

MitchellMarkGeorge commented 2 years ago

Description

There was a bug where if there were multiple instances of a Tab Search Modal open in different windows and they received an update from the background script, the inCurrentWindow would be set based on the actual currently focused window, not on the tab/window that's receiving the update. With this change, an optional parameter was added and if set, the currentWindowId variable would be set to the windowId of the provided tab.

Type of changes made

What changes were made

See above