Add back return in getter
This commit is contained in:
parent
0e5e230c03
commit
28e9d87d86
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ var WebViewImpl = (function() {
|
|||
propertyName = 'on' + eventName.toLowerCase();
|
||||
return Object.defineProperty(this.webviewNode, propertyName, {
|
||||
get: () => {
|
||||
this.on[propertyName];
|
||||
return this.on[propertyName];
|
||||
},
|
||||
set: (value) => {
|
||||
if (this.on[propertyName]) {
|
||||
|
|
Loading…
Reference in a new issue