commit
9dbed95b4b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -76,6 +76,11 @@ export const setUp = () => {
|
||||||
if (!$app.is('a')) {
|
if (!$app.is('a')) {
|
||||||
$app = $app.closest('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) {
|
if (event.which === 1 && !event.ctrlKey && !event.metaKey && $app.parent('#more-apps').length === 0) {
|
||||||
$app.find('svg').remove()
|
$app.find('svg').remove()
|
||||||
$app.find('div').remove() // prevent odd double-clicks
|
$app.find('div').remove() // prevent odd double-clicks
|
||||||
|
|
Loading…
Reference in New Issue