Skip to content

Commit

Permalink
fixed bug in nynorsk implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
on committed Aug 19, 2024
1 parent 18fcdbb commit 4f34787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yr.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name YR Hotkeys
// @namespace http://tampermonkey.net/
// @version 1.1
// @version 1.1.1
// @description Hotkeys 'alt+l', 'alt+r', or 'alt+v' for yr.no
// @author Your Name
// @match https://www.yr.no/*
Expand Down Expand Up @@ -46,7 +46,7 @@
} else if (event.key === 'v') {
view = `forecast/daily-table`;
}
} else if ($match[1] === 'nn') {
} else if (match[1] === 'nn') {
console.log("This is the Nynorsk site.");
if (event.key === 'l') {
view = `21-dagarsvarsel`;
Expand Down

0 comments on commit 4f34787

Please sign in to comment.