File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,10 @@ const openLatestRelease = function () {
176
176
openPage ( "https://github.com/dhowe/AdNauseam/releases/latest" ) ;
177
177
} ;
178
178
179
+ const navigateToOpenLetter = function ( ) {
180
+ openPage ( "https://adnauseam.io/letter.html" ) ;
181
+ }
182
+
179
183
const reloadOptions = function ( ) {
180
184
browser . tabs . query ( { } , ( tabs ) => {
181
185
tabs . filter ( ( t ) => t . url . endsWith ( "options.html" ) ) . forEach ( ( t ) => browser . tabs . reload ( t . id ) ) ;
@@ -370,7 +374,7 @@ export const OpenLetter = new Notification({
370
374
button : "adnOpenLetterButton" ,
371
375
type : INFO ,
372
376
} ) ;
373
- NewerVersionAvailable . func = openLatestRelease . bind ( NewerVersionAvailable ) ;
377
+ OpenLetter . func = navigateToOpenLetter . bind ( OpenLetter ) ;
374
378
375
379
export const Notifications = [
376
380
AdBlockerEnabled ,
You can’t perform that action at this time.
0 commit comments