stray semicolon fml

This commit is contained in:
Shelley Vohr 2017-09-26 12:10:16 -04:00
parent 4753ada7a9
commit afe033a6e1
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -190,7 +190,7 @@ Menu.prototype.closePopup = function (window) {
}
Menu.prototype.getMenuItemById = function (id) {
let items = this;
let items = this
if (items instanceof Menu) items = this.items
let found = items.find(item => item.id === id) || false