Skip to content
Snippets Groups Projects
Commit ddc225c8 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Merge branch 'fix-redirect' into 'develop'

suggestion for timeout

See merge request R3/howto-cards!152
parents f9931ed0 ad7b8f6d
No related branches found
No related tags found
2 merge requests!153Regular merge of develop,!152suggestion for timeout
Pipeline #28935 passed
...@@ -24,7 +24,9 @@ function GetShortcutDestination() { ...@@ -24,7 +24,9 @@ function GetShortcutDestination() {
} }
function RedirectTo(newLocation) { function RedirectTo(newLocation) {
document.location.replace(newLocation); setTimeout(function() {
window.location.replace(newLocation);
}, 1);
} }
// Pick the shortcut link destination from URL, like: `category:subcategory:card-name` // Pick the shortcut link destination from URL, like: `category:subcategory:card-name`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment