mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-06 01:43:48 +00:00
Fix URL when ShareTarget exists
This commit is contained in:
@@ -456,7 +456,9 @@ class WebShareTargetUI {
|
||||
let shareTargetText = title ? title : '';
|
||||
shareTargetText += text ? shareTargetText ? ' ' + text : text : '';
|
||||
shareTargetText += url ? shareTargetText ? ' ' + url : url : '';
|
||||
if(!shareTargetText) return;
|
||||
window.shareTargetText = shareTargetText;
|
||||
history.pushState({},'URL Rewrite','/');
|
||||
console.log('Shared Target Text:', '"' + shareTargetText + '"');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user