reverting click overlay behavior

This commit is contained in:
Wayne Chen 2018-10-04 16:41:14 -07:00
parent c423305bd1
commit a2237aa48a

View file

@ -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();
}
}