Use existing reload function

This commit is contained in:
rugk 2017-02-05 22:35:44 +01:00
parent 5c603d0978
commit 86cd5e1c15
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D
3 changed files with 3 additions and 3 deletions

View file

@ -1510,7 +1510,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
// check if location is (already) shown in URL bar
if (window.location.href === this.pasteUrl.attr('href')) {
// if so we need to load link by reloading the site
location.reload(true);
this.reloadPage(event);
}
},