send empty string if no error and not op
This commit is contained in:
parent
cdbfd99482
commit
dcad8e1686
@ -1552,6 +1552,9 @@
|
||||
});
|
||||
} else if (node = $('meta')) {
|
||||
data = node.content.match(/url=(.+)/)[1];
|
||||
if (/#/.test(data)) {
|
||||
data = '';
|
||||
}
|
||||
}
|
||||
return parent.postMessage(data, '*');
|
||||
});
|
||||
|
||||
@ -1205,6 +1205,7 @@ QR =
|
||||
data = JSON.stringify {textContent, href}
|
||||
else if node = $ 'meta'
|
||||
data = node.content.match(/url=(.+)/)[1]
|
||||
if /#/.test data then data = '' #not op
|
||||
parent.postMessage data, '*'
|
||||
#if we're an iframe, parent will blank us
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user