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);
}
},

View File

@ -69,7 +69,7 @@ if ($MARKDOWN):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-K+5hyQ7JbqWRHoidP56Ox7nIqgGrD9SRfSMv1L0gJDzXhDeYhwwj5F0/FXcEfoFMcTiJGLkFTLmuDxhsjksywA==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-NL5hBaBCJzesfcYEklqF8g1XRWiJcBQpG9QeNIKiDyQCu+zMb9UI0kjyl8Ld1DmXSC7xh8mbV+++tMcWGWgroA==" crossorigin="anonymous"></script>
<!--[if lt IE 10]>
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
<![endif]-->

View File

@ -47,7 +47,7 @@ if ($MARKDOWN):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-K+5hyQ7JbqWRHoidP56Ox7nIqgGrD9SRfSMv1L0gJDzXhDeYhwwj5F0/FXcEfoFMcTiJGLkFTLmuDxhsjksywA==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-NL5hBaBCJzesfcYEklqF8g1XRWiJcBQpG9QeNIKiDyQCu+zMb9UI0kjyl8Ld1DmXSC7xh8mbV+++tMcWGWgroA==" crossorigin="anonymous"></script>
<!--[if lt IE 10]>
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
<![endif]-->