diff --git a/public_html/js/Parser.js b/public_html/js/Parser.js
index d8c425e..58a6e6a 100644
--- a/public_html/js/Parser.js
+++ b/public_html/js/Parser.js
@@ -92,7 +92,7 @@ Parser.prototype.statement = function() {
}
if (this.match(token, TokenType.EOF)) {
- //ViewActivity.getInstance().finish();
+ ViewActivity.getInstance().finish();
return true;
}
diff --git a/public_html/js/Views.js b/public_html/js/Views.js
index a664eb7..124e67e 100644
--- a/public_html/js/Views.js
+++ b/public_html/js/Views.js
@@ -38,6 +38,10 @@ Views.prototype.onTouch = function (e) {
this.parser.next();
};
+Views.prototype.finish = function () {
+ this.text('{center}{html}Вернуться на главную');
+};
+
Views.prototype.windowShow = function (effect) {
if (this.windowTag.style.visibility !== "visible") {
this.windowTag.style.visibility = "visible";