Add semicolon required by codacy

This commit is contained in:
rugk 2018-05-22 11:43:44 +02:00
parent 0b98e444d6
commit 567fa8b61f
No known key found for this signature in database
GPG Key ID: 05D40A636AFAB34D
3 changed files with 4 additions and 4 deletions

View File

@ -718,14 +718,14 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) {
// show error message
Alert.showError(Uploader.parseUploadError(status, data, 'getting paste data'));
})
});
Uploader.setSuccess(function (status, data) {
pasteData = data;
if (typeof callback === 'function') {
return callback(data);
}
})
});
Uploader.run();
};

View File

@ -75,7 +75,7 @@ if ($MARKDOWN):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-j9o5OY7pGdNuerS8+9/y4YCqxC8vprM2iG/wFT1DPf/oo+OeJy0aMGgNBm0d9ZjypDMTS8fH0ocW+rkGWrlThA==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-CfLdTT20PvajSSX1FQB1Jqd26HKDLTlIfuS/iqBktG42V2H4bmlhU+qVGH/JOGxzFHe16IbaOxcipuJPDshoEQ==" 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

@ -54,7 +54,7 @@ if ($QRCODE):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-j9o5OY7pGdNuerS8+9/y4YCqxC8vprM2iG/wFT1DPf/oo+OeJy0aMGgNBm0d9ZjypDMTS8fH0ocW+rkGWrlThA==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-CfLdTT20PvajSSX1FQB1Jqd26HKDLTlIfuS/iqBktG42V2H4bmlhU+qVGH/JOGxzFHe16IbaOxcipuJPDshoEQ==" 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]-->