Hopefuly last Safari posting bug fix. #248
This commit is contained in:
parent
97902bbfcc
commit
e769c56a9f
@ -1899,7 +1899,7 @@
|
||||
message: {
|
||||
send: function(data) {
|
||||
var host, window;
|
||||
if (engine === 'webkit') {
|
||||
if (/chrome/i.test(navigator.userAgent)) {
|
||||
qr.message.receive(data);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1469,7 +1469,8 @@ qr =
|
||||
|
||||
message:
|
||||
send: (data) ->
|
||||
if engine is 'webkit'
|
||||
# CORS is ignored for content script on Chrome, but not Safari/Oprah/Firefox.
|
||||
if /chrome/i.test navigator.userAgent
|
||||
qr.message.receive data
|
||||
return
|
||||
data.qr = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user