Skip to content

Commit 7a47c48

Browse files
authored
Fix code mistake
1 parent e022671 commit 7a47c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Do this:
158158
function handleOpenURL(url) {
159159
setTimeout(function() {
160160
SafariViewController.hide();
161-
var data = decodeURIComponenturl.substr(url.indexOf('=')+1);
161+
var data = decodeURIComponent(url.substr(url.indexOf('=')+1));
162162
console.log('Browser data received: ' + data);
163163
}, 0);
164164
}

0 commit comments

Comments
 (0)