Skip to content

Commit 9dbed95

Browse files
authored
Fix ie app menu loading click (#16667)
Fix ie app menu loading click
2 parents 468c616 + 2873936 commit 9dbed95

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

core/js/dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/src/components/MainMenu.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ export const setUp = () => {
7676
if (!$app.is('a')) {
7777
$app = $app.closest('a')
7878
}
79+
80+
// trigger redirect
81+
// needed for ie, but also works for every browser
82+
window.location = $app.href
83+
7984
if (event.which === 1 && !event.ctrlKey && !event.metaKey && $app.parent('#more-apps').length === 0) {
8085
$app.find('svg').remove()
8186
$app.find('div').remove() // prevent odd double-clicks

0 commit comments

Comments
 (0)