Fix URL when ShareTarget exists
This commit is contained in:
parent
5b2695a107
commit
aefe142eef
2 changed files with 3 additions and 1 deletions
|
@ -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 + '"');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var CACHE_NAME = 'snapdrop-cache-v1.03';
|
||||
var CACHE_NAME = 'snapdrop-cache-v1.04';
|
||||
var urlsToCache = [
|
||||
'/',
|
||||
'/styles.css',
|
||||
|
|
Loading…
Reference in a new issue