adding document title in new history state

This commit is contained in:
El RIDO
2017-02-05 18:53:57 +01:00
parent f699ca6cd4
commit 366b61c32d
3 changed files with 3 additions and 3 deletions

View File

@@ -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._(