Skip to content

Commit

Permalink
feat(component): 修复模拟点击事件错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
suanmei committed Mar 14, 2019
1 parent 6bc31d9 commit cd1dd1e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@
tagA.style.display = 'none';
document.body.appendChild(tagA);

tagA.onclick();
tagA.click();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/index.umd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "callapp-lib",
"version": "2.1.4",
"version": "2.1.5",
"description": "call native webview from webpage",
"main": "dist/index.umd.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion sources/evoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function evokeByTagA(uri) {
tagA.style.display = 'none';
document.body.appendChild(tagA);

tagA.onclick();
tagA.click();
}

/**
Expand Down

0 comments on commit cd1dd1e

Please sign in to comment.