diff --git a/js/privatebin.js b/js/privatebin.js
index 31fa44f..850dfc9 100644
--- a/js/privatebin.js
+++ b/js/privatebin.js
@@ -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._(
diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php
index 668b2e9..b457221 100644
--- a/tpl/bootstrap.php
+++ b/tpl/bootstrap.php
@@ -69,7 +69,7 @@ if ($MARKDOWN):
-
+
diff --git a/tpl/page.php b/tpl/page.php
index 362e887..491be5d 100644
--- a/tpl/page.php
+++ b/tpl/page.php
@@ -47,7 +47,7 @@ if ($MARKDOWN):
-
+