Skip to content

Commit 04d75e9

Browse files
committed
fix: link.runLink updated to link.open
1 parent 7f06eb8 commit 04d75e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function runLink(element) {
157157

158158
function run(link) {
159159
if (typeof CoCreate.link !== 'undefined') {
160-
CoCreate.link.runLink(link)
160+
CoCreate.link.open(link)
161161
} else if (link.hasAttribute('href')) {
162162
window.location.href = link.getAttribute('href');
163163
}

0 commit comments

Comments
 (0)