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
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
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._(