mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-02 10:48:49 -04:00
Fixed prev/next page keyboard navigation when footer is not present
This commit is contained in:
@@ -45,7 +45,7 @@ export function getLocation(): URL {
|
||||
*
|
||||
* @param url - URL to change to
|
||||
*/
|
||||
export function setLocation(url: URL): void {
|
||||
export function setLocation(url: URL | HTMLLinkElement): void {
|
||||
location.href = url.href
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user