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();
|
propertyName = 'on' + eventName.toLowerCase();
|
||||||
return Object.defineProperty(this.webviewNode, propertyName, {
|
return Object.defineProperty(this.webviewNode, propertyName, {
|
||||||
get: () => {
|
get: () => {
|
||||||
this.on[propertyName];
|
return this.on[propertyName];
|
||||||
},
|
},
|
||||||
set: (value) => {
|
set: (value) => {
|
||||||
if (this.on[propertyName]) {
|
if (this.on[propertyName]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue