mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix ie app menu loading click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
effca30d10
commit
287393609d
3 changed files with 7 additions and 2 deletions
2
core/js/dist/main.js
vendored
2
core/js/dist/main.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/main.js.map
vendored
2
core/js/dist/main.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -76,6 +76,11 @@ export const setUp = () => {
|
|||
if (!$app.is('a')) {
|
||||
$app = $app.closest('a')
|
||||
}
|
||||
|
||||
// trigger redirect
|
||||
// needed for ie, but also works for every browser
|
||||
window.location = $app.href
|
||||
|
||||
if (event.which === 1 && !event.ctrlKey && !event.metaKey && $app.parent('#more-apps').length === 0) {
|
||||
$app.find('svg').remove()
|
||||
$app.find('div').remove() // prevent odd double-clicks
|
||||
|
|
|
|||
Loading…
Reference in a new issue