commit | 55a343bf3077e5d1f598028a8f6af419ec3ab64d | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Fri Apr 06 19:57:36 2018 +0200 |
committer | Akron <nils@diewald-online.de> | Fri Apr 06 19:57:36 2018 +0200 |
tree | d0f4bb61a37e37a4836bbbb87961deff5e3723f6 | |
parent | ddc98a7dab909bd936819a8de900d3039ec3b590 [diff] [blame] |
Circumvent value checking on dates when newly created in VC builder Change-Id: Idcf378960d863a3072213d7070c7ac75876438db
diff --git a/dev/js/src/menu.js b/dev/js/src/menu.js index b2ec25b..9f3cf75 100644 --- a/dev/js/src/menu.js +++ b/dev/js/src/menu.js
@@ -782,6 +782,8 @@ // Set boundary for viewport _boundary : function (bool) { + if (this._list.length === 0) + return; this.item(this._list[0]).noMore(bool); this.item(this._list[this._list.length - 1]).noMore(bool); },