mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
adding document title in new history state
This commit is contained in:
parent
f699ca6cd4
commit
366b61c32d
3 changed files with 3 additions and 3 deletions
|
@ -1121,7 +1121,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
deleteUrl = helper.scriptLocation() + '?pasteid=' + data.id + '&deletetoken=' + data.deletetoken;
|
||||
controller.showStatus('');
|
||||
controller.errorMessage.addClass('hidden');
|
||||
history.pushState({type: 'newpaste'}, '', url);
|
||||
history.pushState({type: 'newpaste'}, document.title, url);
|
||||
|
||||
$('#pastelink').html(
|
||||
i18n._(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue