parent
f6932744bc
commit
8aaaa61bcd
@ -4277,11 +4277,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (matches = url.match(/^msg_url\?url=([^&]+)(?:&text=(.*))?$/)) {
|
if (matches = url.match(/^msg_url\?url=([^&]+)(?:&text=(.*))?$/)) {
|
||||||
PeersSelectService.selectPeer().then(function (toPeerString) {
|
var url = decodeURIComponent(matches[1]);
|
||||||
var url = decodeURIComponent(matches[1]);
|
var text = matches[2] ? decodeURIComponent(matches[2]) : '';
|
||||||
var text = matches[2] ? decodeURIComponent(matches[2]) : '';
|
shareUrl(url, text);
|
||||||
shareUrl(url, text);
|
|
||||||
});
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user