Option to configure link target overrides resets when opening about:preferences
#95
Labels
bug
Something isn't working
about:preferences
#95
Description
Option to configure link target overwrites (When opening a link that should normally open in a new window or tab) resets to the default value when the user opens
about:preferences
.Steps to Reproduce
about:preferences
(Firefox settings page)about:preferences
Additional Information
The issue is caused by this code which is run every time
about:preferences
is opened, overwriting user-set preference:https://github.com/filips123/FirefoxPWA/blob/45986aa29386794a3a354bca8395455dfa0cd9cb/native/userchrome/profile/chrome/pwa/content/preferences.jsm#L77-L83
The solution is to only run this code when the user changes "Open out of scope URLs in a default browse". I will fix this soon in the next update.
The text was updated successfully, but these errors were encountered: