Add text on finish script
This commit is contained in:
parent
3670b546cd
commit
95186e8154
@ -92,7 +92,7 @@ Parser.prototype.statement = function() {
|
||||
}
|
||||
|
||||
if (this.match(token, TokenType.EOF)) {
|
||||
//ViewActivity.getInstance().finish();
|
||||
ViewActivity.getInstance().finish();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,10 @@ Views.prototype.onTouch = function (e) {
|
||||
this.parser.next();
|
||||
};
|
||||
|
||||
Views.prototype.finish = function () {
|
||||
this.text('{center}{html}<a style="color: white" href="/">Вернуться на главную</a>');
|
||||
};
|
||||
|
||||
Views.prototype.windowShow = function (effect) {
|
||||
if (this.windowTag.style.visibility !== "visible") {
|
||||
this.windowTag.style.visibility = "visible";
|
||||
|
Loading…
Reference in New Issue
Block a user