Skip to content

Commit 1cf5b4d

Browse files
Merge pull request #77 from extempl/patch-1
Fix code mistake
2 parents 88776d4 + 7a47c48 commit 1cf5b4d

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)