Fix ie app menu loading click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
d5053d00c7
commit
c809dc1827
|
@ -1062,6 +1062,11 @@ function initCore() {
|
|||
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 New Issue