Skip to content

Commit

Permalink
Issue #3 - Don't launch preferences window as modal
Browse files Browse the repository at this point in the history
This removes the `modal` parameter when launching the preferences window
from the Swarth toolbar button. While this works just fine on Windows,
it becomes a problem on *nix OSes since the color chooser window is not
opened as modal (this requires changes to the platform, see bug
1496836).

This resolves #3.
  • Loading branch information
fofajardo committed Jul 27, 2022
1 parent 38f50fe commit 1d051b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ var Swarth = {
openDialog(
"chrome://swarth/content/preferences.xul",
"_blank",
"chrome,modal,titlebar,centerscreen",
"chrome,titlebar,centerscreen",
window
);
},
Expand Down

0 comments on commit 1d051b9

Please sign in to comment.