Use existing reload function
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user