mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 11:46:34 +02:00
reverting click overlay behavior
This commit is contained in:
parent
c423305bd1
commit
a2237aa48a
1 changed files with 0 additions and 14 deletions
|
@ -196,22 +196,8 @@
|
|||
return;
|
||||
}
|
||||
if (tryAgainImageHover === overlayID) {
|
||||
// hide try again overlays.
|
||||
var properties = {
|
||||
visible: false
|
||||
};
|
||||
Overlays.editOverlay(tryAgainImageNeutral, properties);
|
||||
Overlays.editOverlay(tryAgainImageHover, properties);
|
||||
Overlays.editOverlay(tryAgainText, properties);
|
||||
location.goToLastAddress();
|
||||
} else if (backImageHover === overlayID && location.canGoBack()) {
|
||||
// hide back overlays.
|
||||
var properties = {
|
||||
visible: false
|
||||
};
|
||||
Overlays.editOverlay(backImageNeutral, properties);
|
||||
Overlays.editOverlay(backImageHover, properties);
|
||||
Overlays.editOverlay(backText, properties);
|
||||
location.goBack();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue