Signed-off-by: Julius Härtl <jus@bitgrid.net>
$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();
? 'icon-loading-small'
: 'icon-loading-small-dark'
));
+ // trigger redirect
+ // needed for ie, but also works for every browser
+ window.location = $app.attr('href');
} else {
// Close navigation when opening app in
// a new tab